Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.FACTS.STATCOM_Test") translateModel(OpenIPSL.Examples.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001429/0.001429, allocations: 177 kB / 15.43 MB, free: 6.203 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.301/1.301, 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.0007934/0.0007933, allocations: 100.8 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.1682/0.1682, allocations: 43.18 MB / 387.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003141, allocations: 12 kB / 458.6 MB, free: 55.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.0959, 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.004696/0.1006, allocations: 4.806 MB / 0.5116 GB, free: 6.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00298/0.1036, allocations: 1.769 MB / 0.5133 GB, free: 4.199 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000367/0.104, allocations: 8 kB / 0.5133 GB, free: 4.191 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.1044, allocations: 123.2 kB / 0.5135 GB, free: 4.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006406/0.105, allocations: 286.1 kB / 0.5137 GB, free: 3.789 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.1064, allocations: 0.9613 MB / 0.5147 GB, free: 2.734 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009515/0.1074, allocations: 1.004 MB / 0.5156 GB, free: 1.727 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003142/0.1077, allocations: 196.2 kB / 0.5158 GB, free: 1.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.1081, allocations: 390 kB / 0.5162 GB, free: 1.137 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005557/0.1087, allocations: 485.6 kB / 0.5167 GB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.962e-05/0.1088, allocations: 40 kB / 0.5167 GB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.109, allocations: 103.9 kB / 0.5168 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.1092, allocations: 163.1 kB / 0.517 GB, free: 368 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003959/0.1096, allocations: 458.8 kB / 0.5174 GB, free: 15.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008822/0.1105, allocations: 1.012 MB / 0.5184 GB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.1105, allocations: 0 / 0.5184 GB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1105, allocations: 3.938 kB / 0.5184 GB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1105, allocations: 0 / 0.5184 GB, free: 14.88 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.004123/0.1147, allocations: 1.636 MB / 0.52 GB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1147, allocations: 8.031 kB / 0.52 GB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002437/0.1171, allocations: 446.7 kB / 0.5204 GB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008894/0.118, allocations: 0.6311 MB / 0.521 GB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.1183, allocations: 205.8 kB / 0.5212 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-05/0.1184, allocations: 59.94 kB / 0.5213 GB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.1199, allocations: 0.811 MB / 0.5221 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1199, allocations: 0 / 0.5221 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.684e-05/0.12, allocations: 24 kB / 0.5221 GB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.12, allocations: 15.94 kB / 0.5221 GB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.1215, allocations: 0.7586 MB / 0.5229 GB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0042/0.1257, allocations: 2.726 MB / 0.5255 GB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.1272, allocations: 1.087 MB / 0.5266 GB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009542/0.1282, allocations: 0.5343 MB / 0.5271 GB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.017e-05/0.1282, allocations: 12.55 kB / 0.5271 GB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.1294, allocations: 0.6349 MB / 0.5277 GB, free: 4.871 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 2.775e-06/0.1294, allocations: 4 kB / 0.5277 GB, free: 4.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.2005/0.3299, allocations: 5.607 MB / 0.5332 GB, free: 32.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.33, allocations: 85.08 kB / 0.5333 GB, free: 32.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.3312, allocations: 0.7012 MB / 0.534 GB, free: 32.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.3314, allocations: 39.5 kB / 0.534 GB, free: 32.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/0.3318, allocations: 377.5 kB / 0.5344 GB, free: 32.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000324/0.3321, allocations: 234 kB / 0.5346 GB, free: 32.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.3322, allocations: 16.34 kB / 0.5346 GB, free: 32.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.3322, allocations: 327.8 kB / 0.5349 GB, free: 31.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.3333, allocations: 453.7 kB / 0.5354 GB, free: 31.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.3344, allocations: 0.5488 MB / 0.5359 GB, free: 31.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.3364, allocations: 1.014 MB / 0.5369 GB, free: 31.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.3364, allocations: 5.281 kB / 0.5369 GB, free: 31.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009368/0.3458, allocations: 3.153 MB / 0.54 GB, free: 30.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.3458, allocations: 5.594 kB / 0.54 GB, free: 30.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3458, allocations: 3.656 kB / 0.54 GB, free: 30.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004364/0.3502, allocations: 1.286 MB / 0.5412 GB, free: 30.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/0.3508, allocations: 100.7 kB / 0.5413 GB, free: 30.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01515/0.366, allocations: 6.896 MB / 0.5481 GB, free: 26.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.367, allocations: 146.6 kB / 0.5482 GB, free: 26.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.746e-05/0.3671, allocations: 23 kB / 0.5482 GB, free: 26.9 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.0003398/0.3675, allocations: 199.1 kB / 0.5484 GB, free: 26.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.3676, allocations: 90.28 kB / 0.5485 GB, free: 26.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008824/0.3765, allocations: 3.201 MB / 0.5516 GB, free: 25.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.3765, allocations: 7.156 kB / 0.5516 GB, free: 25.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3765, allocations: 0.6562 kB / 0.5516 GB, free: 25.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.3765, allocations: 7.531 kB / 0.5516 GB, free: 25.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009643/0.3862, allocations: 4.401 MB / 0.5559 GB, free: 23.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.3862, allocations: 0 / 0.5559 GB, free: 23.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.3867, allocations: 83.08 kB / 0.556 GB, free: 23.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003647/0.3903, allocations: 1.258 MB / 0.5573 GB, free: 23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-05/0.3904, allocations: 23.8 kB / 0.5573 GB, free: 22.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/0.4017, allocations: 6.015 MB / 0.5632 GB, free: 16.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4018, allocations: 7.969 kB / 0.5632 GB, free: 16.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008913/0.4107, allocations: 3.831 MB / 0.5669 GB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/0.411, allocations: 179.8 kB / 0.5671 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.4112, allocations: 12 kB / 0.5671 GB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007519/0.4119, allocations: 107.9 kB / 0.5672 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004006/0.4123, allocations: 140.3 kB / 0.5673 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.203e-05/0.4124, allocations: 24 kB / 0.5673 GB, free: 12.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005429/0.4129, allocations: 499 kB / 0.5678 GB, free: 12.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.603e-06/0.413, allocations: 0 / 0.5678 GB, free: 12.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009266/0.4139, allocations: 305.1 kB / 0.5681 GB, free: 11.83 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.0001565/0.4141, allocations: 120.7 kB / 0.5682 GB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003702/0.4178, allocations: 1.669 MB / 0.5699 GB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4178, allocations: 3.938 kB / 0.5699 GB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002595/0.4204, allocations: 1.174 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.0006346/0.421, allocations: 83.3 kB / 0.5711 GB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.4237, allocations: 1.961 MB / 0.573 GB, free: 6.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.424, allocations: 0.975 MB / 0.574 GB, free: 5.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.4242, allocations: 69.12 kB / 0.574 GB, free: 5.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.4244, allocations: 51.42 kB / 0.5741 GB, free: 5.648 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4244, allocations: 4 kB / 0.5741 GB, free: 5.645 MB / 362.7 MB Notification: Performance of Templates: time 0.02385/0.4482, allocations: 14.78 MB / 0.5885 GB, free: 6.875 MB / 378.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.FACTS.STATCOM_Test.sim & ./OpenIPSL_release_OpenIPSL.Examples.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.FACTS.STATCOM_Test.pipe 2>&1)