Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06466/0.06466, allocations: 14.16 MB / 284.5 MB, free: 7.152 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004953, allocations: 14.5 kB / 348.8 MB, free: 17.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09082/0.09133, allocations: 51.1 MB / 399.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange): time 0.0126/0.104, allocations: 13.56 MB / 413.5 MB, free: 448 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.1147, allocations: 6.435 MB / 419.9 MB, free: 9.988 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002568/0.1173, allocations: 67.56 kB / 420 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.1192, allocations: 0.5551 MB / 420.6 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006345/0.1255, allocations: 2.271 MB / 422.8 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.1284, allocations: 1.143 MB / 424 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006096/0.1345, allocations: 3.386 MB / 427.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.1359, allocations: 0.5812 MB / 427.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.1381, allocations: 1.327 MB / 429.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1513/0.2894, allocations: 1.351 MB / 430.6 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005597/0.29, allocations: 91.06 kB / 430.7 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.2916, allocations: 447.9 kB / 431.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003969/0.292, allocations: 388 kB / 431.5 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.2931, allocations: 0.5377 MB / 432.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004566/0.2977, allocations: 2.882 MB / 434.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2977, allocations: 0 / 434.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2977, allocations: 0 / 434.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000108/0.2978, allocations: 1.125 kB / 434.9 MB, free: 14.2 MB / 318.1 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.01195/0.3098, allocations: 3.664 MB / 438.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3098, allocations: 13.05 kB / 438.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/0.3117, allocations: 434.2 kB / 439 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003515/0.3153, allocations: 1.704 MB / 440.7 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.3154, allocations: 164.9 kB / 440.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003275/0.3158, allocations: 225 kB / 441.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003737/0.3195, allocations: 2.101 MB / 443.2 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/0.3196, allocations: 4.969 kB / 443.2 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.3197, allocations: 82.47 kB / 443.3 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/0.3198, allocations: 53.19 kB / 443.4 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003716/0.3235, allocations: 1.987 MB / 445.4 MB, free: 11.84 MB / 318.1 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.01378/0.3373, allocations: 11.69 MB / 457 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00346/0.3408, allocations: 2.773 MB / 459.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.861e-05/0.3409, allocations: 28.86 kB / 459.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001543/0.3424, allocations: 1.111 MB / 461 MB, free: 2.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=209): time 3.768e-06/0.3425, allocations: 0 / 461 MB, free: 2.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=210): time 0.01399/0.3565, allocations: 6.375 MB / 467.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/0.3567, allocations: 366.8 kB / 467.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002253/0.3589, allocations: 1.684 MB / 469.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002198/0.3591, allocations: 76.06 kB / 469.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007692/0.3599, allocations: 1.05 MB / 470.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006886/0.3606, allocations: 0.7272 MB / 471.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.3608, allocations: 51.31 kB / 471.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3609, allocations: 413.2 kB / 471.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.3625, allocations: 0.8251 MB / 472.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.3646, allocations: 1.368 MB / 473.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/0.3665, allocations: 1.059 MB / 474.9 MB, free: 9.234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.3665, allocations: 4 kB / 474.9 MB, free: 9.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=337) (initialization): time 0.008481/0.375, allocations: 3.738 MB / 478.7 MB, free: 5.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001709/0.3767, allocations: 4.871 MB / 483.5 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.3768, allocations: 14.41 kB / 483.6 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008195/0.385, allocations: 1.633 MB / 485.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/0.3874, allocations: 0.517 MB / 485.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02444/0.4118, allocations: 21.14 MB / 0.495 GB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003232/0.4151, allocations: 167.5 kB / 0.4951 GB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/0.4154, allocations: 95.98 kB / 0.4952 GB, free: 7.191 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.4154, allocations: 4 kB / 0.4952 GB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005968/0.4214, allocations: 2.852 MB / 0.498 GB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.595e-05/0.4214, allocations: 12 kB / 0.498 GB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00755/0.429, allocations: 1.46 MB / 0.4994 GB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002451/0.4315, allocations: 0.5244 MB / 0.5 GB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01776/0.4492, allocations: 17.75 MB / 0.5173 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/0.4518, allocations: 119.6 kB / 0.5174 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005633/0.4524, allocations: 95.98 kB / 0.5175 GB, free: 15.03 MB / 398.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,66.7%) 0,(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0,(3,66.7%) 0,(3,66.7%) 0} * Non-linear torn systems: 6 {38 0,2 0,2 0,2 0,2 0,4 0} Notification: Performance of prepare postOptimizeDAE: time 0.002515/0.4549, allocations: 0.6158 MB / 0.5181 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/0.456, allocations: 241.1 kB / 0.5183 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005315/0.4613, allocations: 2.402 MB / 0.5207 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.573e-05/0.4614, allocations: 11.95 kB / 0.5207 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4614, allocations: 0 / 0.5207 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/0.4629, allocations: 480.7 kB / 0.5211 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008239/0.4638, allocations: 44 kB / 0.5212 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/0.4656, allocations: 115.6 kB / 0.5213 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00032/0.466, allocations: 165.7 kB / 0.5215 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006105/0.4721, allocations: 2.483 MB / 0.5239 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005333/0.4774, allocations: 2.971 MB / 0.5268 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001307/0.4788, allocations: 0.7809 MB / 0.5275 GB, free: 4.688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001954/0.4807, allocations: 1.102 MB / 0.5286 GB, free: 3.57 MB / 398.1 MB Notification: Performance of Backend: time 4.01e-07/0.4807, allocations: 0 / 0.5286 GB, free: 3.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01426/0.495, allocations: 7.486 MB / 0.5359 GB, free: 11.86 MB / 414.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of SimCode: time 0.01009/0.5051, allocations: 6.213 MB / 0.542 GB, free: 5.609 MB / 414.1 MB Notification: Performance of Templates: time 0.07548/0.5806, allocations: 43.73 MB / 0.5847 GB, free: 9.988 MB / 462.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.makefile Environment - environmentSimulation: (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 -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.pipe 2>&1) Environment - environmentSimulation: