Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.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.Controlled.ControlledGridWithReferenceCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 176.8 kB / 15.43 MB, free: 5.84 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.332/1.332, allocations: 225.7 MB / 241.9 MB, free: 220 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.0008233/0.0008232, allocations: 94.5 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.0606/0.0606, allocations: 14.38 MB / 358.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003021, allocations: 8 kB / 426 MB, free: 83.35 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07932/0.07964, allocations: 53.95 MB / 479.9 MB, free: 30.08 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation): time 0.009921/0.0896, allocations: 14.62 MB / 494.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009933/0.09957, allocations: 7.678 MB / 0.4905 GB, free: 7.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003104/0.1027, allocations: 71.56 kB / 0.4905 GB, free: 7.359 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002104/0.1048, allocations: 0.6876 MB / 0.4912 GB, free: 6.668 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005797/0.1107, allocations: 3.353 MB / 0.4945 GB, free: 3.051 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.1133, allocations: 2.006 MB / 0.4964 GB, free: 0.8945 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005968/0.1193, allocations: 4.962 MB / 0.5013 GB, free: 11.92 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.1205, allocations: 0.6979 MB / 0.502 GB, free: 11.19 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.1226, allocations: 1.298 MB / 0.5032 GB, free: 9.887 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.1245, allocations: 1.446 MB / 0.5046 GB, free: 8.434 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003986/0.1249, allocations: 99.94 kB / 0.5047 GB, free: 8.336 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.1264, allocations: 463.7 kB / 0.5052 GB, free: 7.883 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003837/0.1268, allocations: 413.4 kB / 0.5056 GB, free: 7.477 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001717/0.1285, allocations: 1.376 MB / 0.5069 GB, free: 6.086 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004063/0.1326, allocations: 3.635 MB / 0.5105 GB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1326, allocations: 0 / 0.5105 GB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1326, allocations: 0 / 0.5105 GB, free: 2.438 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.195e-05/0.1327, allocations: 0 / 0.5105 GB, free: 2.438 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: 507 * Number of variables: 507 Notification: Performance of Generate backend data structure: time 0.01045/0.1431, allocations: 3.589 MB / 0.514 GB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.1432, allocations: 8.031 kB / 0.514 GB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.1447, allocations: 417 kB / 0.5144 GB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003324/0.148, allocations: 1.777 MB / 0.5161 GB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.1481, allocations: 168.3 kB / 0.5163 GB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003726/0.1485, allocations: 227.8 kB / 0.5165 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003865/0.1524, allocations: 2.1 MB / 0.5185 GB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.1525, allocations: 4 kB / 0.5186 GB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.1526, allocations: 80 kB / 0.5186 GB, free: 9.906 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/0.1527, allocations: 48 kB / 0.5187 GB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003843/0.1565, allocations: 1.971 MB / 0.5206 GB, free: 7.887 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.1795/0.336, allocations: 11.66 MB / 0.532 GB, free: 55.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003605/0.3396, allocations: 2.689 MB / 0.5346 GB, free: 54.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.341, allocations: 0.8343 MB / 0.5354 GB, free: 54.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.161e-05/0.3411, allocations: 30.8 kB / 0.5355 GB, free: 54.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.3411, allocations: 53.12 kB / 0.5355 GB, free: 54.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=194): time 4.789e-06/0.3411, allocations: 0.875 kB / 0.5355 GB, free: 54.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=195): time 0.01313/0.3542, allocations: 5.626 MB / 0.541 GB, free: 51.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.3543, allocations: 180.3 kB / 0.5412 GB, free: 51.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002447/0.3568, allocations: 1.758 MB / 0.5429 GB, free: 51.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000231/0.357, allocations: 67.05 kB / 0.543 GB, free: 51.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006933/0.3577, allocations: 1.084 MB / 0.544 GB, free: 50.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000556/0.3583, allocations: 0.6883 MB / 0.5447 GB, free: 49.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.3584, allocations: 57.91 kB / 0.5447 GB, free: 49.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3586, allocations: 406.4 kB / 0.5451 GB, free: 49.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.3602, allocations: 0.8538 MB / 0.546 GB, free: 48.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/0.3622, allocations: 1.494 MB / 0.5474 GB, free: 47.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003312/0.3655, allocations: 2.261 MB / 0.5496 GB, free: 46.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/0.3656, allocations: 4.719 kB / 0.5496 GB, free: 46.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=344) (initialization): time 0.009293/0.3749, allocations: 4.025 MB / 0.5536 GB, free: 44.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002235/0.3751, allocations: 0.5592 MB / 0.5541 GB, free: 44.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.533e-05/0.3752, allocations: 16.19 kB / 0.5541 GB, free: 44.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00887/0.384, allocations: 1.957 MB / 0.556 GB, free: 43.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002204/0.3863, allocations: 0.5441 MB / 0.5566 GB, free: 43.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01948/0.4058, allocations: 20.33 MB / 0.5764 GB, free: 25.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/0.4082, allocations: 196.4 kB / 0.5766 GB, free: 25.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/0.4084, allocations: 108 kB / 0.5767 GB, free: 25.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.684e-06/0.4084, allocations: 4.875 kB / 0.5767 GB, free: 25.26 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004813/0.4132, allocations: 2.718 MB / 0.5794 GB, free: 22.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.4133, allocations: 16 kB / 0.5794 GB, free: 22.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006083/0.4193, allocations: 1.27 MB / 0.5806 GB, free: 21.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002273/0.4216, allocations: 0.6163 MB / 0.5812 GB, free: 20.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.4322, allocations: 15.28 MB / 0.5961 GB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/0.4347, allocations: 123.6 kB / 0.5963 GB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.4349, allocations: 111.9 kB / 0.5964 GB, free: 3.711 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 5 (PSS.firstWashoutVsi2.integrator.local_reset,PSS.secondWashoutVsi1.integrator.local_reset,PSS.firstWashoutVsi1.integrator.local_reset,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 (287): * Single equations (assignments): 276 * 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): 5 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(38,0), (2,0), (2,0), (2,0), (2,0), (10,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001057/0.4359, allocations: 0.5629 MB / 0.5969 GB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/0.4363, allocations: 245 kB / 0.5972 GB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/0.4399, allocations: 2.159 MB / 0.5993 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.4399, allocations: 11.95 kB / 0.5993 GB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4399, allocations: 0 / 0.5993 GB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008007/0.4407, allocations: 461.8 kB / 0.5997 GB, free: 240 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003168/0.4411, allocations: 39.98 kB / 0.5998 GB, free: 200 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.4422, allocations: 107.6 kB / 0.5999 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002747/0.4425, allocations: 153.7 kB / 0.6 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005289/0.4478, allocations: 2.172 MB / 0.6021 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004571/0.4524, allocations: 2.719 MB / 0.6048 GB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001255/0.4537, allocations: 0.73 MB / 0.6055 GB, free: 10.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00177/0.4555, allocations: 1.116 MB / 0.6066 GB, free: 9.199 MB / 378.7 MB Notification: Performance of Backend: time 9.11e-07/0.4555, allocations: 0 / 0.6066 GB, free: 9.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01365/0.4691, allocations: 7.069 MB / 0.6135 GB, free: 1.902 MB / 378.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.009051/0.4782, allocations: 6.26 MB / 0.6196 GB, free: 11.58 MB / 394.7 MB Notification: Performance of Templates: time 0.07398/0.5522, allocations: 43.58 MB / 0.6622 GB, free: 88 kB / 426.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation -abortSlowSimulation -alarm=480 -nls=kinsol -lv=LOG_INIT_HOMOTOPY -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.pipe 2>&1)