Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, 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.001011/0.001011, allocations: 177.3 kB / 15.94 MB, free: 228 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.478/1.478, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05979/0.05979, allocations: 14.16 MB / 284.5 MB, free: 7.02 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.000485/0.0004852, allocations: 12 kB / 348.8 MB, free: 17.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0895/0.08999, allocations: 51.12 MB / 399.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation): time 0.01279/0.1028, allocations: 13.54 MB / 413.5 MB, free: 452 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.1132, allocations: 6.442 MB / 419.9 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/0.1154, allocations: 67.56 kB / 420 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.1171, allocations: 0.5511 MB / 420.5 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005949/0.123, allocations: 2.28 MB / 422.8 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002843/0.1259, allocations: 1.141 MB / 424 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006161/0.1321, allocations: 3.371 MB / 427.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.1332, allocations: 0.5855 MB / 427.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.1355, allocations: 1.331 MB / 429.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1531/0.2886, allocations: 1.358 MB / 430.6 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006044/0.2893, allocations: 94.88 kB / 430.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.2909, allocations: 450.3 kB / 431.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000392/0.2913, allocations: 392.3 kB / 431.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000772/0.2921, allocations: 0.5316 MB / 432.1 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004552/0.2967, allocations: 2.888 MB / 434.9 MB, free: 14.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2967, allocations: 2.297 kB / 435 MB, free: 14.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.2967, allocations: 1.281 kB / 435 MB, free: 14.19 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001201/0.2968, allocations: 3.406 kB / 435 MB, free: 14.19 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: 507 * Number of variables: 507 Notification: Performance of Generate backend data structure: time 0.01305/0.3099, allocations: 3.621 MB / 438.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.31, allocations: 16.86 kB / 438.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.312, allocations: 404.8 kB / 439 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003828/0.3159, allocations: 1.734 MB / 440.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.316, allocations: 162.8 kB / 440.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000388/0.3164, allocations: 223.6 kB / 441.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004445/0.3209, allocations: 2.079 MB / 443.2 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/0.321, allocations: 4.812 kB / 443.2 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.3211, allocations: 81.72 kB / 443.3 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-05/0.3212, allocations: 48.94 kB / 443.3 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003715/0.3249, allocations: 1.967 MB / 445.3 MB, free: 11.87 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.01373/0.3386, allocations: 11.77 MB / 457 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003407/0.3421, allocations: 2.687 MB / 459.7 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.3422, allocations: 40.61 kB / 459.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.3422, allocations: 57.52 kB / 459.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=194): time 4.679e-06/0.3423, allocations: 3.984 kB / 459.8 MB, free: 2.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=195): time 0.01253/0.3548, allocations: 5.59 MB / 465.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.3549, allocations: 175.2 kB / 465.6 MB, free: 476 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/0.3571, allocations: 1.771 MB / 467.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000223/0.3573, allocations: 66.89 kB / 467.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007124/0.3581, allocations: 1.098 MB / 468.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006652/0.3587, allocations: 0.6861 MB / 469.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.3589, allocations: 50.81 kB / 469.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.359, allocations: 414.9 kB / 469.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.3607, allocations: 0.8494 MB / 470.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/0.3627, allocations: 1.481 MB / 472 MB, free: 12.26 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/0.3648, allocations: 1.044 MB / 473 MB, free: 11.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.3648, allocations: 4 kB / 473 MB, free: 11.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=344) (initialization): time 0.009499/0.3743, allocations: 4.019 MB / 477.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002288/0.3766, allocations: 6.457 MB / 483.5 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.151e-05/0.3767, allocations: 16 kB / 483.5 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008619/0.3853, allocations: 1.694 MB / 485.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.3878, allocations: 0.5478 MB / 485.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02561/0.4134, allocations: 20.64 MB / 0.4945 GB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/0.4162, allocations: 191.4 kB / 0.4947 GB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002666/0.4165, allocations: 112 kB / 0.4948 GB, free: 7.734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.4165, allocations: 7 kB / 0.4948 GB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005529/0.4221, allocations: 2.709 MB / 0.4975 GB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-05/0.4221, allocations: 23.95 kB / 0.4975 GB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006683/0.4288, allocations: 1.273 MB / 0.4988 GB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/0.4315, allocations: 0.619 MB / 0.4994 GB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/0.4458, allocations: 15.41 MB / 0.5144 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/0.4483, allocations: 123.6 kB / 0.5145 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/0.4485, allocations: 108 kB / 0.5146 GB, free: 2.293 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(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,10 0} Notification: Performance of prepare postOptimizeDAE: time 0.001296/0.4498, allocations: 0.5583 MB / 0.5152 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004908/0.4503, allocations: 250.6 kB / 0.5154 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004195/0.4545, allocations: 2.175 MB / 0.5175 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/0.4545, allocations: 7.969 kB / 0.5175 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.4546, allocations: 2.719 kB / 0.5175 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.4556, allocations: 461.9 kB / 0.518 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003529/0.4559, allocations: 32 kB / 0.518 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.4573, allocations: 115.6 kB / 0.5181 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.4575, allocations: 153.7 kB / 0.5183 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005252/0.4628, allocations: 2.163 MB / 0.5204 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004542/0.4674, allocations: 2.724 MB / 0.523 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001245/0.4686, allocations: 0.7184 MB / 0.5237 GB, free: 8.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001975/0.4706, allocations: 1.132 MB / 0.5249 GB, free: 7.828 MB / 398.1 MB Notification: Performance of Backend: time 2.014e-06/0.4706, allocations: 0 / 0.5249 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01395/0.4846, allocations: 6.999 MB / 0.5317 GB, free: 0.707 MB / 398.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.008336/0.493, allocations: 6.067 MB / 0.5376 GB, free: 10.61 MB / 414.1 MB Notification: Performance of Templates: time 0.06866/0.5617, allocations: 42.4 MB / 0.579 GB, free: 332 kB / 446.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.makefile Environment - environmentSimulation: (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 -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.pipe 2>&1) Environment - environmentSimulation: