Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.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.ControlledGridParametersChange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 176.5 kB / 15.43 MB, free: 6.207 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.309/1.309, allocations: 225.7 MB / 241.9 MB, free: 392 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.0007295/0.0007295, allocations: 90.06 kB / 293.1 MB, free: 12.87 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.06064/0.06064, allocations: 14.37 MB / 358.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.000317, allocations: 12.69 kB / 426 MB, free: 83.38 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07793/0.07826, allocations: 53.95 MB / 479.9 MB, free: 30.04 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange): time 0.01032/0.08862, allocations: 14.65 MB / 494.6 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009653/0.09833, allocations: 7.817 MB / 0.4906 GB, free: 7.188 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/0.1009, allocations: 75.5 kB / 0.4907 GB, free: 7.113 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.1033, allocations: 0.6915 MB / 0.4914 GB, free: 6.418 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006491/0.1098, allocations: 3.348 MB / 0.4946 GB, free: 2.805 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.1133, allocations: 2.01 MB / 0.4966 GB, free: 0.6445 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006886/0.1202, allocations: 4.954 MB / 0.5014 GB, free: 11.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.1218, allocations: 0.6936 MB / 0.5021 GB, free: 10.95 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.1243, allocations: 1.282 MB / 0.5034 GB, free: 9.664 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002525/0.1269, allocations: 1.446 MB / 0.5048 GB, free: 8.211 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006991/0.1276, allocations: 88 kB / 0.5049 GB, free: 8.125 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.1296, allocations: 463.7 kB / 0.5053 GB, free: 7.672 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006688/0.1303, allocations: 405.5 kB / 0.5057 GB, free: 7.273 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002389/0.1327, allocations: 1.388 MB / 0.5071 GB, free: 5.871 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005114/0.1378, allocations: 3.624 MB / 0.5106 GB, free: 2.234 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1379, allocations: 0 / 0.5106 GB, free: 2.234 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1379, allocations: 0 / 0.5106 GB, free: 2.234 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001224/0.138, allocations: 0 / 0.5106 GB, free: 2.234 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: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.01139/0.1494, allocations: 3.633 MB / 0.5141 GB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.1495, allocations: 8.031 kB / 0.5142 GB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.1514, allocations: 429 kB / 0.5146 GB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003737/0.1551, allocations: 1.765 MB / 0.5163 GB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.1553, allocations: 167.9 kB / 0.5164 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005403/0.1559, allocations: 224 kB / 0.5167 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00453/0.1604, allocations: 2.119 MB / 0.5187 GB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.105e-05/0.1605, allocations: 0 / 0.5187 GB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002017/0.1607, allocations: 84 kB / 0.5188 GB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.97e-05/0.1607, allocations: 48 kB / 0.5189 GB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004182/0.1649, allocations: 1.99 MB / 0.5208 GB, free: 7.594 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.1838/0.3487, allocations: 11.58 MB / 0.5321 GB, free: 55.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003984/0.3527, allocations: 2.776 MB / 0.5348 GB, free: 54.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.3541, allocations: 0.8852 MB / 0.5357 GB, free: 54.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.3543, allocations: 29.38 kB / 0.5357 GB, free: 54.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001643/0.3559, allocations: 1.12 MB / 0.5368 GB, free: 53.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=209): time 4.458e-06/0.3559, allocations: 0 / 0.5368 GB, free: 53.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=210): time 0.01542/0.3714, allocations: 6.246 MB / 0.5429 GB, free: 51.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.3715, allocations: 369 kB / 0.5433 GB, free: 50.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003424/0.375, allocations: 1.674 MB / 0.5449 GB, free: 50.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004385/0.3754, allocations: 70.64 kB / 0.545 GB, free: 50.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008653/0.3763, allocations: 1.043 MB / 0.546 GB, free: 49.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000781/0.3771, allocations: 0.7307 MB / 0.5467 GB, free: 48.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.3772, allocations: 50.16 kB / 0.5467 GB, free: 48.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3774, allocations: 404.9 kB / 0.5471 GB, free: 48.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/0.3791, allocations: 0.8366 MB / 0.5479 GB, free: 48.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/0.3813, allocations: 1.372 MB / 0.5493 GB, free: 47.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003559/0.3848, allocations: 2.25 MB / 0.5515 GB, free: 45.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-05/0.3849, allocations: 4.375 kB / 0.5515 GB, free: 45.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=337) (initialization): time 0.009087/0.394, allocations: 3.753 MB / 0.5551 GB, free: 44.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002288/0.3942, allocations: 0.4915 MB / 0.5556 GB, free: 43.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.3943, allocations: 11.38 kB / 0.5556 GB, free: 43.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009057/0.4033, allocations: 1.896 MB / 0.5575 GB, free: 43.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/0.4058, allocations: 0.5189 MB / 0.558 GB, free: 42.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01927/0.4251, allocations: 20.85 MB / 0.5784 GB, free: 23.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.4276, allocations: 174 kB / 0.5785 GB, free: 23.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002729/0.4279, allocations: 95.98 kB / 0.5786 GB, free: 23.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.4279, allocations: 4 kB / 0.5786 GB, free: 23.13 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005468/0.4334, allocations: 2.847 MB / 0.5814 GB, free: 20.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.4335, allocations: 15.94 kB / 0.5814 GB, free: 20.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007184/0.4407, allocations: 1.45 MB / 0.5828 GB, free: 18.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/0.4429, allocations: 0.5383 MB / 0.5834 GB, free: 18.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/0.4563, allocations: 17.56 MB / 0.6005 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.4586, allocations: 119.6 kB / 0.6006 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002521/0.4589, allocations: 99.98 kB / 0.6007 GB, free: 14.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition4,$PRE.NTHV.fault,NTHV.fault,$whenCondition1,$whenCondition2,$PRE.NTHV.Y.re,NTHV.Y.re,$PRE.NTHV.Y.im,NTHV.Y.im,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 (282): * Single equations (assignments): 268 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,0,66.7%), (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), (4,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001275/0.4601, allocations: 0.6132 MB / 0.6013 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004983/0.4607, allocations: 245 kB / 0.6016 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004809/0.4655, allocations: 2.393 MB / 0.6039 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.831e-05/0.4655, allocations: 7.969 kB / 0.6039 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.4655, allocations: 7.922 kB / 0.6039 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.4666, allocations: 469.9 kB / 0.6043 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003835/0.467, allocations: 43.94 kB / 0.6044 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.4683, allocations: 119.6 kB / 0.6045 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/0.4687, allocations: 157.7 kB / 0.6047 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006114/0.4748, allocations: 2.494 MB / 0.6071 GB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005259/0.4801, allocations: 2.962 MB / 0.61 GB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001548/0.4817, allocations: 0.7886 MB / 0.6108 GB, free: 4.539 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001914/0.4836, allocations: 1.083 MB / 0.6118 GB, free: 3.438 MB / 378.7 MB Notification: Performance of Backend: time 4.51e-07/0.4836, allocations: 0 / 0.6118 GB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01477/0.4984, allocations: 7.56 MB / 0.6192 GB, free: 11.57 MB / 394.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.009502/0.5079, allocations: 6.408 MB / 0.6255 GB, free: 5.09 MB / 394.7 MB Notification: Performance of Templates: time 0.07584/0.5838, allocations: 44.98 MB / 0.6694 GB, free: 8.203 MB / 442.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange -abortSlowSimulation -alarm=480 -nls=kinsol -lv=LOG_INIT_HOMOTOPY -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.pipe 2>&1)