Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_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.001267/0.001266, allocations: 95.25 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 178.5 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0576/0.0576, allocations: 14.17 MB / 285.2 MB, free: 7.156 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.0006489/0.0006491, allocations: 12 kB / 349.5 MB, free: 17.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1072, allocations: 51.11 MB / 400.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS): time 0.01641/0.1236, allocations: 13.55 MB / 414.1 MB, free: 452 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01242/0.1361, allocations: 6.423 MB / 420.6 MB, free: 10 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/0.1393, allocations: 67.56 kB / 420.6 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002364/0.1417, allocations: 0.559 MB / 421.2 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007634/0.1493, allocations: 2.263 MB / 423.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003175/0.1525, allocations: 1.138 MB / 424.6 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007183/0.1597, allocations: 3.394 MB / 428 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.1612, allocations: 0.5773 MB / 428.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.164, allocations: 1.323 MB / 429.9 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2/0.364, allocations: 1.354 MB / 431.2 MB, free: 14.96 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007504/0.3648, allocations: 93.42 kB / 431.3 MB, free: 14.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.3668, allocations: 447.3 kB / 431.8 MB, free: 14.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004476/0.3673, allocations: 385 kB / 432.1 MB, free: 14.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009068/0.3682, allocations: 0.543 MB / 432.7 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004/0.3722, allocations: 2.876 MB / 435.6 MB, free: 14.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3722, allocations: 0 / 435.6 MB, free: 14.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3723, allocations: 0.9688 kB / 435.6 MB, free: 14.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.567e-05/0.3723, allocations: 3.969 kB / 435.6 MB, free: 14.71 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.01194/0.3843, allocations: 3.667 MB / 439.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.3844, allocations: 11.3 kB / 439.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/0.3867, allocations: 430.5 kB / 439.7 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003718/0.3904, allocations: 1.704 MB / 441.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.3905, allocations: 164.9 kB / 441.5 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003806/0.3909, allocations: 228.5 kB / 441.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004115/0.3951, allocations: 2.104 MB / 443.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.222e-05/0.3951, allocations: 0 / 443.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.3953, allocations: 85.41 kB / 443.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.065e-05/0.3954, allocations: 48.81 kB / 444 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003608/0.399, allocations: 1.988 MB / 446 MB, free: 12.36 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.01401/0.413, allocations: 11.69 MB / 457.7 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003558/0.4166, allocations: 2.769 MB / 460.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.4167, allocations: 36.12 kB / 460.5 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001611/0.4183, allocations: 1.105 MB / 461.6 MB, free: 2.531 MB / 318.1 MB Notification: Performance of pre-optimization done (n=209): time 4.649e-06/0.4183, allocations: 1.781 kB / 461.6 MB, free: 2.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=210): time 0.01438/0.4327, allocations: 6.378 MB / 468 MB, free: 364 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.4329, allocations: 364.5 kB / 468.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002476/0.4354, allocations: 1.687 MB / 470 MB, free: 14.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002663/0.4357, allocations: 74.88 kB / 470.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008989/0.4366, allocations: 1.054 MB / 471.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007871/0.4374, allocations: 0.7192 MB / 471.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.4375, allocations: 60 kB / 471.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.4377, allocations: 407.3 kB / 472.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/0.4393, allocations: 0.8279 MB / 473.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.4412, allocations: 1.365 MB / 474.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.4431, allocations: 1.058 MB / 475.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.4431, allocations: 4 kB / 475.6 MB, free: 9.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=337) (initialization): time 0.008137/0.4512, allocations: 3.74 MB / 479.3 MB, free: 5.691 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00188/0.4531, allocations: 4.871 MB / 484.2 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/0.4532, allocations: 12 kB / 484.2 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007873/0.461, allocations: 1.622 MB / 485.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002424/0.4635, allocations: 0.531 MB / 486.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02422/0.4877, allocations: 21.13 MB / 0.4956 GB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/0.4907, allocations: 167.5 kB / 0.4957 GB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002291/0.491, allocations: 95.98 kB / 0.4958 GB, free: 7.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.491, allocations: 6.516 kB / 0.4958 GB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005683/0.4967, allocations: 2.857 MB / 0.4986 GB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.4967, allocations: 12 kB / 0.4986 GB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007006/0.5037, allocations: 1.459 MB / 0.5 GB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/0.506, allocations: 0.5266 MB / 0.5006 GB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0179/0.5239, allocations: 17.74 MB / 0.5179 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/0.5269, allocations: 123.6 kB / 0.518 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000433/0.5274, allocations: 95.98 kB / 0.5181 GB, free: 15.22 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.001927/0.5293, allocations: 0.6123 MB / 0.5187 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009444/0.5303, allocations: 241.1 kB / 0.5189 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005399/0.5357, allocations: 2.402 MB / 0.5213 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.207e-05/0.5357, allocations: 11.95 kB / 0.5213 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5357, allocations: 0 / 0.5213 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/0.5372, allocations: 477.8 kB / 0.5217 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007281/0.5379, allocations: 44 kB / 0.5218 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/0.5395, allocations: 115.7 kB / 0.5219 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002786/0.5398, allocations: 165.7 kB / 0.5221 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00556/0.5454, allocations: 2.495 MB / 0.5245 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004814/0.5502, allocations: 2.962 MB / 0.5274 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001271/0.5515, allocations: 0.7887 MB / 0.5282 GB, free: 4.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001918/0.5535, allocations: 1.091 MB / 0.5292 GB, free: 3.766 MB / 398.1 MB Notification: Performance of Backend: time 2.2e-07/0.5535, allocations: 2.625 kB / 0.5292 GB, free: 3.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01475/0.5682, allocations: 7.49 MB / 0.5365 GB, free: 12.05 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.01005/0.5783, allocations: 6.214 MB / 0.5426 GB, free: 5.801 MB / 414.1 MB Notification: Performance of Templates: time 0.07942/0.6578, allocations: 43.72 MB / 0.5853 GB, free: 10.18 MB / 462.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.sim & ./PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.pipe 2>&1) Environment - environmentSimulation: