Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.ENTSOE.TestCase2.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/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/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) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.ENTSOE.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.ENTSOE.TestCase2") translateModel(PowerGrids.Examples.ENTSOE.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.ENTSOE.TestCase2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009707/0.0009709, allocations: 180 kB / 15.43 MB, free: 5.777 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.383/1.383, allocations: 225.7 MB / 241.9 MB, free: 384 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.0007826/0.0007825, allocations: 96.3 kB / 293.1 MB, free: 12.89 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05995/0.05995, allocations: 14.38 MB / 358.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002972, allocations: 8.516 kB / 426 MB, free: 83.36 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07178/0.0721, allocations: 53.96 MB / 479.9 MB, free: 30.08 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.TestCase2): time 0.005183/0.07732, allocations: 7.531 MB / 487.5 MB, free: 22.51 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005057/0.08241, allocations: 4.876 MB / 492.3 MB, free: 17.36 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009233/0.08336, allocations: 27.88 kB / 492.4 MB, free: 17.34 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008951/0.08427, allocations: 338.2 kB / 492.7 MB, free: 17 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003011/0.08729, allocations: 2.265 MB / 495 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.08864, allocations: 0.9903 MB / 496 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002027/0.09068, allocations: 2.435 MB / 498.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004081/0.0911, allocations: 330.5 kB / 498.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006633/0.09178, allocations: 0.6803 MB / 499.4 MB, free: 10 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005982/0.09238, allocations: 0.7424 MB / 0.4884 GB, free: 9.258 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.09251, allocations: 59.94 kB / 0.4885 GB, free: 9.199 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006789/0.09319, allocations: 303.8 kB / 0.4888 GB, free: 8.902 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.09335, allocations: 242.6 kB / 0.489 GB, free: 8.664 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004846/0.09384, allocations: 0.7085 MB / 0.4897 GB, free: 7.945 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.09527, allocations: 1.888 MB / 0.4915 GB, free: 6.051 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.09529, allocations: 4 kB / 0.4915 GB, free: 6.047 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.0953, allocations: 0 / 0.4915 GB, free: 6.047 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.953e-05/0.09534, allocations: 0 / 0.4915 GB, free: 6.047 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.004585/0.09993, allocations: 1.948 MB / 0.4934 GB, free: 4.043 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.09998, allocations: 11.97 kB / 0.4934 GB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000539/0.1005, allocations: 202.9 kB / 0.4936 GB, free: 3.832 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.1019, allocations: 0.9546 MB / 0.4946 GB, free: 2.824 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.286e-05/0.102, allocations: 82.38 kB / 0.4946 GB, free: 2.742 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.1021, allocations: 123.9 kB / 0.4948 GB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.1037, allocations: 1.066 MB / 0.4958 GB, free: 1.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1037, allocations: 8 kB / 0.4958 GB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.361e-05/0.1038, allocations: 36 kB / 0.4958 GB, free: 1.477 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.1038, allocations: 24 kB / 0.4959 GB, free: 1.453 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.1055, allocations: 1.031 MB / 0.4969 GB, free: 432 kB / 330.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.007013/0.1125, allocations: 5.503 MB / 0.5023 GB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.1146, allocations: 1.342 MB / 0.5036 GB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008145/0.1155, allocations: 488.1 kB / 0.504 GB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.391e-05/0.1156, allocations: 16.94 kB / 0.504 GB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1156, allocations: 43.56 kB / 0.5041 GB, free: 8.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=106): time 2.956e-06/0.1156, allocations: 0 / 0.5041 GB, free: 8.469 MB / 346.7 MB Notification: Performance of matching and sorting (n=107): time 0.008277/0.1239, allocations: 3.439 MB / 0.5074 GB, free: 4.961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.124, allocations: 149.5 kB / 0.5076 GB, free: 4.785 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.125, allocations: 0.8908 MB / 0.5085 GB, free: 3.875 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.039e-05/0.1251, allocations: 49.7 kB / 0.5085 GB, free: 3.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.1255, allocations: 0.5009 MB / 0.509 GB, free: 3.312 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/0.1258, allocations: 390.3 kB / 0.5094 GB, free: 2.926 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-05/0.1259, allocations: 28 kB / 0.5094 GB, free: 2.898 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.126, allocations: 357.9 kB / 0.5097 GB, free: 2.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.127, allocations: 0.5271 MB / 0.5102 GB, free: 2.016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.1282, allocations: 0.7544 MB / 0.511 GB, free: 1.195 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001946/0.1302, allocations: 1.167 MB / 0.5121 GB, free: 15.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.1302, allocations: 7.938 kB / 0.5121 GB, free: 15.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.005118/0.1353, allocations: 2.219 MB / 0.5143 GB, free: 13.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.1354, allocations: 197.5 kB / 0.5145 GB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.1355, allocations: 7.938 kB / 0.5145 GB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005961/0.1414, allocations: 1.211 MB / 0.5157 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.1428, allocations: 335.6 kB / 0.516 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1678/0.3106, allocations: 16.47 MB / 0.5321 GB, free: 54.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.3118, allocations: 94.31 kB / 0.5322 GB, free: 54.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.3119, allocations: 49.83 kB / 0.5322 GB, free: 54.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/0.312, allocations: 4.062 kB / 0.5322 GB, free: 54.07 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003363/0.3153, allocations: 1.561 MB / 0.5337 GB, free: 53.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3154, allocations: 3.281 kB / 0.5338 GB, free: 53.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00487/0.3202, allocations: 0.9405 MB / 0.5347 GB, free: 53.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.3215, allocations: 342.3 kB / 0.535 GB, free: 53.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007498/0.329, allocations: 12.56 MB / 0.5473 GB, free: 42.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.3301, allocations: 53 kB / 0.5473 GB, free: 42.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.163e-05/0.3302, allocations: 52.3 kB / 0.5474 GB, free: 42.37 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (AVR.firstOrderLim.I.local_reset,TGOV.firstOrderLim.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,0,66.7%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(7,0), (2,0), (2,0), (4,0), (2,0), (2,0), (4,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0005486/0.3307, allocations: 371.2 kB / 0.5477 GB, free: 42.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.3309, allocations: 124.4 kB / 0.5478 GB, free: 42.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/0.3335, allocations: 1.323 MB / 0.5491 GB, free: 41.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.3335, allocations: 5.391 kB / 0.5491 GB, free: 41.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.3336, allocations: 7.125 kB / 0.5491 GB, free: 41.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003976/0.334, allocations: 277.7 kB / 0.5494 GB, free: 41.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.3341, allocations: 20.62 kB / 0.5494 GB, free: 41.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006549/0.3348, allocations: 81.19 kB / 0.5495 GB, free: 41.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.335, allocations: 93.73 kB / 0.5496 GB, free: 41.36 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003173/0.3381, allocations: 1.369 MB / 0.5509 GB, free: 40.9 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002469/0.3406, allocations: 1.684 MB / 0.5526 GB, free: 40.13 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007207/0.3414, allocations: 442.9 kB / 0.553 GB, free: 39.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007142/0.3421, allocations: 0.578 MB / 0.5536 GB, free: 39.72 MB / 362.7 MB Notification: Performance of Backend: time 5.41e-07/0.3421, allocations: 0 / 0.5536 GB, free: 39.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007285/0.3494, allocations: 4.8 MB / 0.5582 GB, free: 36.61 MB / 362.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.003888/0.3533, allocations: 3.62 MB / 0.5618 GB, free: 34.2 MB / 362.7 MB Notification: Performance of Templates: time 0.03321/0.3865, allocations: 24.62 MB / 0.5858 GB, free: 15.54 MB / 362.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.ENTSOE.TestCase2.makefile (rm -f PowerGrids_PowerGrids.Examples.ENTSOE.TestCase2.pipe ; mkfifo PowerGrids_PowerGrids.Examples.ENTSOE.TestCase2.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.ENTSOE.TestCase2.pipe >> ../files/PowerGrids_PowerGrids.Examples.ENTSOE.TestCase2.sim & ./PowerGrids_PowerGrids.Examples.ENTSOE.TestCase2 -abortSlowSimulation -alarm=480 -nls=kinsol -lv=LOG_INIT_HOMOTOPY -lv LOG_STATS > PowerGrids_PowerGrids.Examples.ENTSOE.TestCase2.pipe 2>&1)