Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.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.ControlledGridWithPSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 99.55 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.001437/0.001437, 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.549/1.549, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05898/0.05898, allocations: 14.16 MB / 284.5 MB, free: 7.031 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.0005913/0.0005914, allocations: 16 kB / 348.8 MB, free: 17.18 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1106, allocations: 51.11 MB / 399.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS): time 0.01445/0.1251, allocations: 13.55 MB / 413.5 MB, free: 436 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.1377, allocations: 6.431 MB / 419.9 MB, free: 9.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.141, allocations: 63.62 kB / 420 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002739/0.1438, allocations: 0.5589 MB / 420.5 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007636/0.1515, allocations: 2.26 MB / 422.8 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003726/0.1552, allocations: 1.136 MB / 423.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007351/0.1626, allocations: 3.394 MB / 427.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.1641, allocations: 0.5773 MB / 427.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002912/0.167, allocations: 1.327 MB / 429.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1643/0.3314, allocations: 1.35 MB / 430.6 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006546/0.3321, allocations: 92.17 kB / 430.7 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.3339, allocations: 450.6 kB / 431.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003955/0.3343, allocations: 388 kB / 431.5 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009122/0.3352, allocations: 0.5376 MB / 432 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003828/0.3391, allocations: 2.879 MB / 434.9 MB, free: 14.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3391, allocations: 0 / 434.9 MB, free: 14.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3391, allocations: 1.062 kB / 434.9 MB, free: 14.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.038e-05/0.3392, allocations: 0 / 434.9 MB, free: 14.17 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.0116/0.3508, allocations: 3.668 MB / 438.6 MB, free: 12.76 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3509, allocations: 14.2 kB / 438.6 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/0.3531, allocations: 426.5 kB / 439 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003736/0.3568, allocations: 1.714 MB / 440.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.549e-05/0.357, allocations: 161.4 kB / 440.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003354/0.3573, allocations: 225.6 kB / 441.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003613/0.3609, allocations: 2.099 MB / 443.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/0.361, allocations: 5.047 kB / 443.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.3612, allocations: 84.34 kB / 443.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.854e-05/0.3612, allocations: 48.78 kB / 443.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003631/0.3648, allocations: 1.985 MB / 445.3 MB, free: 11.82 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.01306/0.3779, allocations: 11.69 MB / 457 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003694/0.3816, allocations: 2.772 MB / 459.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.3818, allocations: 30.47 kB / 459.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00159/0.3834, allocations: 1.11 MB / 460.9 MB, free: 2.004 MB / 318.1 MB Notification: Performance of pre-optimization done (n=209): time 4.448e-06/0.3834, allocations: 2.688 kB / 460.9 MB, free: 2.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=210): time 0.01441/0.3978, allocations: 6.375 MB / 467.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/0.398, allocations: 365.1 kB / 467.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/0.4006, allocations: 1.688 MB / 469.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002433/0.4008, allocations: 77.5 kB / 469.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008118/0.4017, allocations: 1.052 MB / 470.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007451/0.4024, allocations: 0.7233 MB / 471.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.4025, allocations: 54.31 kB / 471.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.4027, allocations: 411.3 kB / 471.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.4043, allocations: 0.8251 MB / 472.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.4063, allocations: 1.364 MB / 473.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.4081, allocations: 1.06 MB / 474.9 MB, free: 9.238 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.4081, allocations: 8 kB / 474.9 MB, free: 9.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=337) (initialization): time 0.008403/0.4165, allocations: 3.745 MB / 478.7 MB, free: 5.492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001721/0.4183, allocations: 4.868 MB / 483.5 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/0.4183, allocations: 16 kB / 483.5 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008185/0.4265, allocations: 1.626 MB / 485.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00237/0.4289, allocations: 0.5224 MB / 485.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0247/0.4536, allocations: 21.14 MB / 0.495 GB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/0.4564, allocations: 159.5 kB / 0.4951 GB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/0.4567, allocations: 99.98 kB / 0.4952 GB, free: 7.195 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.4567, allocations: 4 kB / 0.4952 GB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005872/0.4626, allocations: 2.849 MB / 0.498 GB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/0.4626, allocations: 16.12 kB / 0.498 GB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007485/0.4701, allocations: 1.451 MB / 0.4994 GB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/0.4725, allocations: 0.5383 MB / 0.4999 GB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01748/0.49, allocations: 17.74 MB / 0.5173 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/0.4926, allocations: 119.6 kB / 0.5174 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/0.4929, 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.001329/0.4942, allocations: 0.6176 MB / 0.5181 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004923/0.4947, allocations: 245.1 kB / 0.5183 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004662/0.4994, allocations: 2.4 MB / 0.5207 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.4994, allocations: 11.95 kB / 0.5207 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.4994, allocations: 0 / 0.5207 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/0.5006, allocations: 476.1 kB / 0.5211 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003943/0.501, allocations: 48 kB / 0.5212 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.5024, allocations: 111.6 kB / 0.5213 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/0.5027, allocations: 161.7 kB / 0.5214 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005923/0.5086, allocations: 2.499 MB / 0.5239 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005051/0.5137, allocations: 2.961 MB / 0.5268 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001328/0.515, allocations: 0.7887 MB / 0.5275 GB, free: 4.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001815/0.5168, allocations: 1.09 MB / 0.5286 GB, free: 3.574 MB / 398.1 MB Notification: Performance of Backend: time 8.62e-07/0.5169, allocations: 0 / 0.5286 GB, free: 3.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01367/0.5305, allocations: 7.5 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.008801/0.5394, allocations: 6.211 MB / 0.542 GB, free: 5.609 MB / 414.1 MB Notification: Performance of Templates: time 0.0754/0.6148, allocations: 43.72 MB / 0.5847 GB, free: 9.996 MB / 462.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.pipe 2>&1) Environment - environmentSimulation: