Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test") translateModel(OpenIPSL.Examples.FACTS.TCSC_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009439/0.000944, allocations: 180.8 kB / 15.43 MB, free: 6.145 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 225.7 MB / 241.9 MB, free: 14.66 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009385/0.0009386, allocations: 100.2 kB / 293 MB, free: 4.848 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2656/0.2656, allocations: 43.18 MB / 387.4 MB, free: 1.617 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000437/0.0004372, allocations: 10.72 kB / 458.6 MB, free: 73.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1236, allocations: 60.51 MB / 0.5069 GB, free: 13.23 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.FACTS.TCSC_Test): time 0.004909/0.1286, allocations: 5.529 MB / 0.5123 GB, free: 7.676 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003271/0.1319, allocations: 2.421 MB / 0.5147 GB, free: 5.105 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007989/0.1327, allocations: 15.94 kB / 0.5147 GB, free: 5.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006664/0.1334, allocations: 162.9 kB / 0.5148 GB, free: 4.93 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.1351, allocations: 0.9171 MB / 0.5157 GB, free: 3.938 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.1362, allocations: 0.6498 MB / 0.5164 GB, free: 3.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.1378, allocations: 1.347 MB / 0.5177 GB, free: 1.898 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004067/0.1382, allocations: 251.7 kB / 0.5179 GB, free: 1.637 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007226/0.1389, allocations: 0.4937 MB / 0.5184 GB, free: 1.141 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00086/0.1398, allocations: 0.5946 MB / 0.519 GB, free: 0.543 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002204/0.14, allocations: 56 kB / 0.519 GB, free: 500 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004757/0.1405, allocations: 167.9 kB / 0.5192 GB, free: 332 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.1408, allocations: 218.8 kB / 0.5194 GB, free: 112 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005854/0.1414, allocations: 0.5296 MB / 0.5199 GB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.1427, allocations: 1.308 MB / 0.5212 GB, free: 14.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1427, allocations: 4 kB / 0.5212 GB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1427, allocations: 0 / 0.5212 GB, free: 14.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.068e-05/0.1428, allocations: 0 / 0.5212 GB, free: 14.25 MB / 362.7 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.00657/0.1494, allocations: 2.072 MB / 0.5232 GB, free: 12.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1494, allocations: 12.03 kB / 0.5232 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003373/0.1528, allocations: 0.561 MB / 0.5238 GB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.1541, allocations: 0.7798 MB / 0.5246 GB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.1544, allocations: 225.7 kB / 0.5248 GB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.1545, allocations: 60 kB / 0.5248 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.1562, allocations: 0.881 MB / 0.5257 GB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1562, allocations: 0 / 0.5257 GB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.518e-05/0.1563, allocations: 28 kB / 0.5257 GB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.1563, allocations: 15.94 kB / 0.5257 GB, free: 9.477 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.1581, allocations: 0.907 MB / 0.5266 GB, free: 8.57 MB / 362.7 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.005227/0.1634, allocations: 3.093 MB / 0.5296 GB, free: 5.348 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006326/0.1697, allocations: 1.974 MB / 0.5316 GB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.1709, allocations: 0.5966 MB / 0.5322 GB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.636e-05/0.171, allocations: 12.64 kB / 0.5322 GB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/0.1723, allocations: 0.6641 MB / 0.5328 GB, free: 1.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 2.725e-06/0.1723, allocations: 0 / 0.5328 GB, free: 1.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.01965/0.192, allocations: 5.609 MB / 0.5383 GB, free: 12.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.1921, allocations: 64.06 kB / 0.5383 GB, free: 12.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.1934, allocations: 0.9544 MB / 0.5393 GB, free: 11.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.1936, allocations: 37.7 kB / 0.5393 GB, free: 11.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.1939, allocations: 472.2 kB / 0.5398 GB, free: 10.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.1942, allocations: 268.2 kB / 0.54 GB, free: 10.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.1942, allocations: 20 kB / 0.54 GB, free: 10.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1944, allocations: 345.9 kB / 0.5404 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.1956, allocations: 0.5954 MB / 0.541 GB, free: 9.535 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.1968, allocations: 0.718 MB / 0.5417 GB, free: 8.789 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01693/0.2138, allocations: 4.432 MB / 0.546 GB, free: 4.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.2138, allocations: 3.938 kB / 0.546 GB, free: 4.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.009069/0.2229, allocations: 3.315 MB / 0.5492 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.2229, allocations: 4 kB / 0.5492 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.223, allocations: 4 kB / 0.5492 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1885/0.4115, allocations: 1.476 MB / 0.5507 GB, free: 47.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.4127, allocations: 193.4 kB / 0.5509 GB, free: 47.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/0.4252, allocations: 5.724 MB / 0.5564 GB, free: 45.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.4267, allocations: 184.1 kB / 0.5566 GB, free: 45.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/0.4268, allocations: 36.66 kB / 0.5567 GB, free: 45.68 MB / 378.7 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 ($whenCondition1,$whenCondition2) * 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.0003954/0.4272, allocations: 245.4 kB / 0.5569 GB, free: 45.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.4274, allocations: 111.6 kB / 0.557 GB, free: 45.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009576/0.437, allocations: 3.155 MB / 0.5601 GB, free: 44.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.4371, allocations: 8.516 kB / 0.5601 GB, free: 44.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.4371, allocations: 0 / 0.5601 GB, free: 44.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/0.4371, allocations: 4.5 kB / 0.5601 GB, free: 44.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/0.4479, allocations: 4.527 MB / 0.5645 GB, free: 43.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.4479, allocations: 5.031 kB / 0.5645 GB, free: 43.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/0.4484, allocations: 99.72 kB / 0.5646 GB, free: 43.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004842/0.4533, allocations: 1.525 MB / 0.5661 GB, free: 42.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.4534, allocations: 16.19 kB / 0.5661 GB, free: 42.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/0.4653, allocations: 5.894 MB / 0.5719 GB, free: 39.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4653, allocations: 0 / 0.5719 GB, free: 39.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009473/0.4748, allocations: 3.918 MB / 0.5757 GB, free: 37.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.4751, allocations: 203 kB / 0.5759 GB, free: 36.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/0.4753, allocations: 19.94 kB / 0.5759 GB, free: 36.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00099/0.4763, allocations: 123.8 kB / 0.576 GB, free: 36.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004731/0.4768, allocations: 152.4 kB / 0.5762 GB, free: 36.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-05/0.4769, allocations: 16 kB / 0.5762 GB, free: 36.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008537/0.4778, allocations: 0.6514 MB / 0.5768 GB, free: 35.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4778, allocations: 0 / 0.5768 GB, free: 35.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001199/0.479, allocations: 355.2 kB / 0.5772 GB, free: 35.56 MB / 378.7 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.0002483/0.4792, allocations: 138 kB / 0.5773 GB, free: 35.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004542/0.4838, allocations: 2.034 MB / 0.5793 GB, free: 33.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4838, allocations: 0 / 0.5793 GB, free: 33.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002978/0.4868, allocations: 1.341 MB / 0.5806 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007896/0.4876, allocations: 97.12 kB / 0.5807 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.4905, allocations: 2.195 MB / 0.5828 GB, free: 29.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.4909, allocations: 1.05 MB / 0.5839 GB, free: 28.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004057/0.4913, allocations: 98.67 kB / 0.5839 GB, free: 28.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.4916, allocations: 59.42 kB / 0.584 GB, free: 28.45 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.4916, allocations: 0 / 0.584 GB, free: 28.45 MB / 378.7 MB Notification: Performance of Templates: time 0.02207/0.5136, allocations: 16.58 MB / 0.6002 GB, free: 11.88 MB / 378.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test.sim & ./OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.FACTS.TCSC_Test.pipe 2>&1)