Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.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.Tutorial.GridOperation.Static.StaticGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009754/0.0009755, allocations: 180.6 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.287/1.287, 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.0007757/0.0007757, allocations: 100.8 kB / 293.1 MB, free: 12.9 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.05868/0.05868, allocations: 14.38 MB / 358.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000438/0.000438, allocations: 8.75 kB / 426 MB, free: 83.3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1134, allocations: 53.95 MB / 479.9 MB, free: 30.08 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid): time 0.01193/0.1254, allocations: 11.18 MB / 491.1 MB, free: 18.85 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.1361, allocations: 6.291 MB / 497.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/0.1382, allocations: 31.88 kB / 497.4 MB, free: 12.24 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002/0.1402, allocations: 0.5444 MB / 498 MB, free: 11.69 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00732/0.1475, allocations: 3.164 MB / 0.4894 GB, free: 8.266 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.15, allocations: 1.402 MB / 0.4908 GB, free: 6.715 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005252/0.1552, allocations: 3.715 MB / 0.4944 GB, free: 2.988 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006113/0.1559, allocations: 230.2 kB / 0.4946 GB, free: 2.738 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.1576, allocations: 0.9563 MB / 0.4955 GB, free: 1.777 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002083/0.1597, allocations: 1.085 MB / 0.4966 GB, free: 0.6875 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004787/0.1602, allocations: 64 kB / 0.4967 GB, free: 0.625 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.1623, allocations: 439.6 kB / 0.4971 GB, free: 200 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005399/0.1628, allocations: 262.6 kB / 0.4973 GB, free: 15.93 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002364/0.1652, allocations: 0.969 MB / 0.4983 GB, free: 14.96 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004681/0.1699, allocations: 2.382 MB / 0.5006 GB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.1699, allocations: 0 / 0.5006 GB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.479e-06/0.1699, allocations: 3.938 kB / 0.5006 GB, free: 12.56 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.241e-05/0.17, allocations: 11.94 kB / 0.5006 GB, free: 12.55 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.008942/0.179, allocations: 2.612 MB / 0.5032 GB, free: 9.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.1791, allocations: 12.02 kB / 0.5032 GB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.1804, allocations: 286.5 kB / 0.5035 GB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/0.1827, allocations: 1.119 MB / 0.5046 GB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.312e-05/0.1828, allocations: 106.9 kB / 0.5047 GB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/0.1831, allocations: 152 kB / 0.5048 GB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.1855, allocations: 1.268 MB / 0.506 GB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.1855, allocations: 4 kB / 0.506 GB, free: 6.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.1857, allocations: 52 kB / 0.5061 GB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/0.1857, allocations: 35.98 kB / 0.5061 GB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/0.188, allocations: 1.286 MB / 0.5074 GB, free: 5.461 MB / 346.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.01085/0.1989, allocations: 8.381 MB / 0.5156 GB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/0.2015, allocations: 2.079 MB / 0.5176 GB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007809/0.2023, allocations: 0.5089 MB / 0.5181 GB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.294e-05/0.2024, allocations: 21.45 kB / 0.5181 GB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.2025, allocations: 47.88 kB / 0.5182 GB, free: 9.266 MB / 362.7 MB Notification: Performance of pre-optimization done (n=140): time 3.737e-06/0.2025, allocations: 0 / 0.5182 GB, free: 9.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=141): time 0.01093/0.2134, allocations: 4.109 MB / 0.5222 GB, free: 5.086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.2135, allocations: 72.66 kB / 0.5222 GB, free: 5.004 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.2151, allocations: 1.082 MB / 0.5233 GB, free: 3.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.2152, allocations: 53.7 kB / 0.5234 GB, free: 3.852 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005652/0.2158, allocations: 0.6751 MB / 0.524 GB, free: 3.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004889/0.2163, allocations: 0.5006 MB / 0.5245 GB, free: 2.656 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.2164, allocations: 44 kB / 0.5245 GB, free: 2.613 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2166, allocations: 378 kB / 0.5249 GB, free: 2.238 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.2176, allocations: 0.5468 MB / 0.5254 GB, free: 1.688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.219, allocations: 1.008 MB / 0.5264 GB, free: 496 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1935/0.4126, allocations: 1.589 MB / 0.528 GB, free: 59.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.4127, allocations: 3.906 kB / 0.528 GB, free: 59.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.004828/0.4175, allocations: 2.331 MB / 0.5303 GB, free: 59.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.4176, allocations: 10.72 kB / 0.5303 GB, free: 59.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/0.4176, allocations: 16.92 kB / 0.5303 GB, free: 59.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005919/0.4235, allocations: 1.198 MB / 0.5315 GB, free: 59.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.4251, allocations: 477.9 kB / 0.5319 GB, free: 59.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009384/0.4345, allocations: 12.49 MB / 0.5441 GB, free: 48.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.4361, allocations: 113.8 kB / 0.5442 GB, free: 48.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.4363, allocations: 81.58 kB / 0.5443 GB, free: 48.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (234): * Single equations (assignments): 226 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(23,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0005137/0.4368, allocations: 361.2 kB / 0.5446 GB, free: 47.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.437, allocations: 157.5 kB / 0.5448 GB, free: 47.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/0.4397, allocations: 1.538 MB / 0.5463 GB, free: 47.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.4397, allocations: 6.797 kB / 0.5463 GB, free: 47.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4398, allocations: 0.5625 kB / 0.5463 GB, free: 47.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004409/0.4402, allocations: 317 kB / 0.5466 GB, free: 46.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/0.4404, allocations: 23.98 kB / 0.5466 GB, free: 46.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007169/0.4411, allocations: 49.86 kB / 0.5467 GB, free: 46.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.4413, allocations: 114 kB / 0.5468 GB, free: 46.8 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003255/0.4445, allocations: 1.492 MB / 0.5482 GB, free: 46.22 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002183/0.4467, allocations: 1.71 MB / 0.5499 GB, free: 45.37 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006383/0.4474, allocations: 422.9 kB / 0.5503 GB, free: 45.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009387/0.4483, allocations: 0.6813 MB / 0.551 GB, free: 44.92 MB / 362.7 MB Notification: Performance of Backend: time 3.81e-07/0.4483, allocations: 0 / 0.551 GB, free: 44.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004764/0.4531, allocations: 2.655 MB / 0.5536 GB, free: 43.36 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.004429/0.4576, allocations: 4.114 MB / 0.5576 GB, free: 40.66 MB / 362.7 MB Notification: Performance of Templates: time 0.03028/0.4879, allocations: 21.04 MB / 0.5781 GB, free: 25.16 MB / 362.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid -abortSlowSimulation -alarm=480 -nls=kinsol -lv=LOG_INIT_HOMOTOPY -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.StaticGrid.pipe 2>&1)