Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_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.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_Test") translateModel(OpenIPSL.Examples.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_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.00111/0.00111, allocations: 181.3 kB / 15.43 MB, free: 6.199 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.32/1.32, allocations: 225.7 MB / 241.9 MB, free: 396 kB / 186.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.0007995/0.0007997, allocations: 95.14 kB / 293.1 MB, free: 12.91 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.1735/0.1735, allocations: 43.19 MB / 387.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003813, allocations: 8 kB / 458.6 MB, free: 55.47 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1048, allocations: 60.5 MB / 0.5069 GB, free: 10.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.FACTS.STATCOM_Test): time 0.005273/0.1102, allocations: 4.81 MB / 0.5116 GB, free: 6.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003305/0.1135, allocations: 1.765 MB / 0.5133 GB, free: 4.207 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007689/0.1143, allocations: 8 kB / 0.5133 GB, free: 4.199 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005347/0.1149, allocations: 131.2 kB / 0.5135 GB, free: 4.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.1159, allocations: 282.1 kB / 0.5137 GB, free: 3.793 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.1175, allocations: 0.9613 MB / 0.5147 GB, free: 2.738 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.1187, allocations: 1.004 MB / 0.5156 GB, free: 1.73 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003554/0.1191, allocations: 196.2 kB / 0.5158 GB, free: 1.523 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000503/0.1196, allocations: 390 kB / 0.5162 GB, free: 1.141 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.1202, allocations: 497.6 kB / 0.5167 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.626e-05/0.1202, allocations: 36 kB / 0.5167 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.1205, allocations: 95.98 kB / 0.5168 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.1207, allocations: 175 kB / 0.517 GB, free: 360 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003521/0.121, allocations: 447 kB / 0.5174 GB, free: 15.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008206/0.1218, allocations: 1.016 MB / 0.5184 GB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1219, allocations: 0 / 0.5184 GB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1219, allocations: 0 / 0.5184 GB, free: 14.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1219, allocations: 0 / 0.5184 GB, free: 14.89 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004381/0.1263, allocations: 1.632 MB / 0.52 GB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1263, allocations: 12.03 kB / 0.52 GB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002526/0.1289, allocations: 446.7 kB / 0.5204 GB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009348/0.1298, allocations: 0.6272 MB / 0.521 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.1301, allocations: 205.8 kB / 0.5212 GB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.56e-05/0.1302, allocations: 52 kB / 0.5213 GB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.1318, allocations: 0.8227 MB / 0.5221 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1318, allocations: 0 / 0.5221 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.345e-05/0.1319, allocations: 23.94 kB / 0.5221 GB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.1319, allocations: 15.94 kB / 0.5221 GB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.1334, allocations: 0.7586 MB / 0.5229 GB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00422/0.1376, allocations: 2.734 MB / 0.5255 GB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.1391, allocations: 1.083 MB / 0.5266 GB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009294/0.14, allocations: 0.5226 MB / 0.5271 GB, free: 5.547 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.386e-05/0.1401, allocations: 16.53 kB / 0.5271 GB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/0.1413, allocations: 0.6349 MB / 0.5277 GB, free: 4.879 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 2.364e-06/0.1413, allocations: 0 / 0.5277 GB, free: 4.879 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.2156/0.3569, allocations: 5.614 MB / 0.5332 GB, free: 32.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.3569, allocations: 85.55 kB / 0.5333 GB, free: 32.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.3581, allocations: 0.6975 MB / 0.534 GB, free: 32.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.3583, allocations: 39.89 kB / 0.534 GB, free: 32.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.3586, allocations: 378.9 kB / 0.5344 GB, free: 32.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002698/0.3588, allocations: 234 kB / 0.5346 GB, free: 32.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.3589, allocations: 16.78 kB / 0.5346 GB, free: 32.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.607e-05/0.359, allocations: 327 kB / 0.5349 GB, free: 31.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009445/0.3599, allocations: 450.8 kB / 0.5354 GB, free: 31.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000982/0.3609, allocations: 0.5521 MB / 0.5359 GB, free: 31.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.3628, allocations: 1.013 MB / 0.5369 GB, free: 31.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.3628, allocations: 5.375 kB / 0.5369 GB, free: 31.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009111/0.3719, allocations: 3.152 MB / 0.54 GB, free: 30.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3719, allocations: 6.531 kB / 0.54 GB, free: 30.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.372, allocations: 3.688 kB / 0.54 GB, free: 30.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00417/0.3761, allocations: 1.289 MB / 0.5412 GB, free: 30.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004962/0.3766, allocations: 105 kB / 0.5413 GB, free: 30.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/0.3913, allocations: 6.895 MB / 0.5481 GB, free: 26.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009747/0.3923, allocations: 140.5 kB / 0.5482 GB, free: 26.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.589e-05/0.3924, allocations: 22.69 kB / 0.5482 GB, free: 26.94 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(16,12)} Notification: Performance of prepare postOptimizeDAE: time 0.00032/0.3928, allocations: 199.8 kB / 0.5484 GB, free: 26.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.393, allocations: 94.69 kB / 0.5485 GB, free: 26.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008977/0.4019, allocations: 3.195 MB / 0.5516 GB, free: 26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.402, allocations: 7.625 kB / 0.5516 GB, free: 26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.402, allocations: 0.9062 kB / 0.5516 GB, free: 26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.402, allocations: 3.562 kB / 0.5516 GB, free: 26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009889/0.4119, allocations: 4.399 MB / 0.5559 GB, free: 23.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.412, allocations: 3.969 kB / 0.5559 GB, free: 23.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.4123, allocations: 86.97 kB / 0.556 GB, free: 23.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003468/0.4158, allocations: 1.259 MB / 0.5573 GB, free: 23.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.66e-05/0.4159, allocations: 20.56 kB / 0.5573 GB, free: 23.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/0.4269, allocations: 6.017 MB / 0.5632 GB, free: 16.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.4269, allocations: 0 / 0.5632 GB, free: 16.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008891/0.4358, allocations: 3.837 MB / 0.5669 GB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.4361, allocations: 183.8 kB / 0.5671 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.4363, allocations: 12 kB / 0.5671 GB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008634/0.4371, allocations: 111.9 kB / 0.5672 GB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004248/0.4376, allocations: 148.3 kB / 0.5673 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/0.4376, allocations: 16 kB / 0.5673 GB, free: 12.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005416/0.4382, allocations: 499 kB / 0.5678 GB, free: 12.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4382, allocations: 0 / 0.5678 GB, free: 12.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009435/0.4391, allocations: 303.6 kB / 0.5681 GB, free: 11.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Syn1.omega,sTATCOM.simpleLagLim.state,Syn1.delta,Syn1.eq) * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(17,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001599/0.4393, allocations: 119.7 kB / 0.5682 GB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003826/0.4432, allocations: 1.67 MB / 0.5699 GB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4432, allocations: 0 / 0.5699 GB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002746/0.4459, allocations: 1.173 MB / 0.571 GB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006722/0.4466, allocations: 79.31 kB / 0.5711 GB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.4496, allocations: 1.965 MB / 0.573 GB, free: 6.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.45, allocations: 0.975 MB / 0.574 GB, free: 5.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000246/0.4503, allocations: 69.06 kB / 0.574 GB, free: 5.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.4505, allocations: 51.44 kB / 0.5741 GB, free: 5.648 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4505, allocations: 4 kB / 0.5741 GB, free: 5.645 MB / 362.7 MB Notification: Performance of Templates: time 0.02357/0.474, allocations: 14.78 MB / 0.5885 GB, free: 6.879 MB / 378.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_Test.sim & ./OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_Test.pipe 2>&1)