Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test") translateModel(OpenIPSL.Tests.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 222.9 MB / 238.8 MB, free: 4.738 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 188.5 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4526/0.4526, allocations: 78.53 MB / 417.8 MB, free: 3.352 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 71.88 kB / 496.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1306, allocations: 68.19 MB / 0.5517 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.2136/0.3443, allocations: 6.312 MB / 0.5579 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003549/0.3479, allocations: 1.892 MB / 0.5597 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000584/0.3485, allocations: 15.38 kB / 0.5597 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006143/0.3491, allocations: 160.7 kB / 0.5599 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.3505, allocations: 0.6285 MB / 0.5605 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009904/0.3515, allocations: 0.5043 MB / 0.561 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.3526, allocations: 1.341 MB / 0.5623 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003285/0.353, allocations: 250.5 kB / 0.5625 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005555/0.3535, allocations: 0.5147 MB / 0.563 GB, free: 35.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005513/0.3541, allocations: 0.616 MB / 0.5636 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.3542, allocations: 58.81 kB / 0.5637 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.3546, allocations: 196.8 kB / 0.5639 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.3548, allocations: 227 kB / 0.5641 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003673/0.3552, allocations: 0.5302 MB / 0.5646 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.3563, allocations: 1.335 MB / 0.5659 GB, free: 34.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3563, allocations: 1.219 kB / 0.5659 GB, free: 34.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.3563, allocations: 2.531 kB / 0.5659 GB, free: 34.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.3563, allocations: 0 / 0.5659 GB, free: 34.56 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.006396/0.3627, allocations: 2.243 MB / 0.5681 GB, free: 33.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3628, allocations: 8.656 kB / 0.5681 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003153/0.3659, allocations: 0.5565 MB / 0.5687 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.3671, allocations: 0.786 MB / 0.5694 GB, free: 33.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.3673, allocations: 210 kB / 0.5696 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.3674, allocations: 67.28 kB / 0.5697 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.369, allocations: 0.8315 MB / 0.5705 GB, free: 33.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.369, allocations: 5.812 kB / 0.5705 GB, free: 33.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.938e-05/0.3691, allocations: 28.05 kB / 0.5705 GB, free: 33.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.3691, allocations: 18.22 kB / 0.5705 GB, free: 33.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.3707, allocations: 0.8495 MB / 0.5714 GB, free: 33.02 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004702/0.3754, allocations: 3.05 MB / 0.5744 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005546/0.381, allocations: 1.711 MB / 0.576 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009593/0.3819, allocations: 0.5486 MB / 0.5766 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.954e-05/0.382, allocations: 6.375 kB / 0.5766 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/0.3832, allocations: 0.6168 MB / 0.5772 GB, free: 31.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 2.896e-06/0.3832, allocations: 0 / 0.5772 GB, free: 31.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.01701/0.4002, allocations: 4.705 MB / 0.5818 GB, free: 30.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.4003, allocations: 62.97 kB / 0.5818 GB, free: 30.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.4017, allocations: 0.9674 MB / 0.5828 GB, free: 30.03 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001736/0.4019, allocations: 36.89 kB / 0.5828 GB, free: 29.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.4022, allocations: 473.7 kB / 0.5833 GB, free: 29.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.4025, allocations: 262.2 kB / 0.5835 GB, free: 29.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003402/0.4028, allocations: 183.5 kB / 0.5837 GB, free: 29.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.413e-05/0.4029, allocations: 343.1 kB / 0.584 GB, free: 29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.4041, allocations: 0.5509 MB / 0.5845 GB, free: 28.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.4052, allocations: 0.6689 MB / 0.5852 GB, free: 28.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01615/0.4214, allocations: 4.037 MB / 0.5891 GB, free: 27.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/0.4214, allocations: 1.969 kB / 0.5891 GB, free: 27.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00923/0.4307, allocations: 2.839 MB / 0.5919 GB, free: 26.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.4307, allocations: 6.375 kB / 0.5919 GB, free: 26.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.4308, allocations: 3.406 kB / 0.5919 GB, free: 26.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004817/0.4356, allocations: 1.266 MB / 0.5932 GB, free: 26.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.4366, allocations: 186.7 kB / 0.5933 GB, free: 26.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.4485, allocations: 5.24 MB / 0.5985 GB, free: 23.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.4503, allocations: 152.3 kB / 0.5986 GB, free: 23.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/0.4505, allocations: 36.19 kB / 0.5986 GB, free: 23.5 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(flow=false start = Gen1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006865/0.4512, allocations: 236.2 kB / 0.5989 GB, free: 23.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003945/0.4516, allocations: 116.7 kB / 0.599 GB, free: 23.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00882/0.4604, allocations: 2.655 MB / 0.6016 GB, free: 22.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.4605, allocations: 8.578 kB / 0.6016 GB, free: 22.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4605, allocations: 0 / 0.6016 GB, free: 22.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.4605, allocations: 4.734 kB / 0.6016 GB, free: 22.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.4713, allocations: 4.023 MB / 0.6055 GB, free: 20.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.4713, allocations: 0 / 0.6055 GB, free: 20.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/0.4719, allocations: 94.25 kB / 0.6056 GB, free: 20.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004919/0.4768, allocations: 1.323 MB / 0.6069 GB, free: 20.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-05/0.4769, allocations: 17.7 kB / 0.6069 GB, free: 20.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/0.4888, allocations: 5.462 MB / 0.6122 GB, free: 16.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4888, allocations: 0 / 0.6122 GB, free: 16.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009568/0.4984, allocations: 3.369 MB / 0.6155 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006402/0.4991, allocations: 199.7 kB / 0.6157 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000402/0.4995, allocations: 14.06 kB / 0.6157 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.5007, allocations: 84.84 kB / 0.6158 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005628/0.5013, allocations: 160.3 kB / 0.616 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.545e-05/0.5014, allocations: 20 kB / 0.616 GB, free: 13.17 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001183/0.5026, allocations: 0.6592 MB / 0.6166 GB, free: 12.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5026, allocations: 0 / 0.6166 GB, free: 12.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001517/0.5041, allocations: 351.8 kB / 0.617 GB, free: 12.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tCSC.PIcontroller.x_scaled[1],tCSC.X1.state,Gen1.delta,Gen1.w) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(15,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002768/0.5044, allocations: 127.1 kB / 0.6171 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004449/0.5089, allocations: 1.843 MB / 0.6189 GB, free: 10.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5089, allocations: 0 / 0.6189 GB, free: 10.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002955/0.5119, allocations: 1.192 MB / 0.6201 GB, free: 8.934 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009623/0.5128, allocations: 92.41 kB / 0.6201 GB, free: 8.844 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.5165, allocations: 2.17 MB / 0.6223 GB, free: 6.668 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.517, allocations: 1.046 MB / 0.6233 GB, free: 5.598 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003933/0.5174, allocations: 95.58 kB / 0.6234 GB, free: 5.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.5176, allocations: 59.42 kB / 0.6234 GB, free: 5.445 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5176, allocations: 0 / 0.6234 GB, free: 5.445 MB / 430.1 MB Notification: Performance of Templates: time 0.02662/0.5442, allocations: 16.89 MB / 0.6399 GB, free: 4.742 MB / 446.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.sim & ./OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1)