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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001133, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 221.8 MB, free: 8.492 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 106.3 kB / 269.2 MB, free: 8.445 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06006/0.06006, allocations: 14.18 MB / 330.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 51.92 kB / 394.4 MB, free: 62.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07263/0.07383, allocations: 50.13 MB / 444.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS): time 0.01151/0.08537, allocations: 16.36 MB / 460.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.09559, allocations: 6.846 MB / 467.7 MB, free: 4.648 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.09799, allocations: 71.56 kB / 467.8 MB, free: 4.578 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00193/0.09994, allocations: 0.6877 MB / 468.5 MB, free: 3.887 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006316/0.1063, allocations: 2.336 MB / 470.8 MB, free: 1.555 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003373/0.1097, allocations: 1.434 MB / 472.3 MB, free: 132 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005808/0.1155, allocations: 5.005 MB / 477.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.1165, allocations: 0.7054 MB / 478 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.1183, allocations: 1.372 MB / 479.4 MB, free: 8.988 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.1198, allocations: 1.528 MB / 480.9 MB, free: 7.453 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002519/0.1201, allocations: 120 kB / 481 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.1213, allocations: 499.7 kB / 481.5 MB, free: 6.848 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00034/0.1217, allocations: 453.5 kB / 481.9 MB, free: 6.402 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.1229, allocations: 1.429 MB / 483.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003322/0.1263, allocations: 3.738 MB / 487.1 MB, free: 1.215 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1263, allocations: 0 / 487.1 MB, free: 1.215 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1263, allocations: 0 / 487.1 MB, free: 1.215 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.709e-05/0.1263, allocations: 0 / 487.1 MB, free: 1.215 MB / 330.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.1535/0.2798, allocations: 4.084 MB / 491.2 MB, free: 48.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.2799, allocations: 9 kB / 491.2 MB, free: 48.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/0.2815, allocations: 422.5 kB / 491.6 MB, free: 48.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003298/0.2848, allocations: 1.791 MB / 493.4 MB, free: 47.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.285, allocations: 161.8 kB / 493.6 MB, free: 47.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00031/0.2853, allocations: 228 kB / 493.8 MB, free: 47.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003545/0.2888, allocations: 2.094 MB / 495.9 MB, free: 46.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/0.2889, allocations: 2.094 kB / 495.9 MB, free: 46.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.289, allocations: 86.03 kB / 496 MB, free: 46.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/0.2891, allocations: 50.69 kB / 496 MB, free: 46.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003399/0.2925, allocations: 1.927 MB / 497.9 MB, free: 45.45 MB / 330.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.01116/0.3037, allocations: 11.5 MB / 0.4975 GB, free: 35.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003534/0.3072, allocations: 2.726 MB / 0.5002 GB, free: 33.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.3085, allocations: 0.8608 MB / 0.501 GB, free: 33.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.3087, allocations: 27.23 kB / 0.501 GB, free: 33.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/0.3102, allocations: 1.098 MB / 0.5021 GB, free: 32.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=209): time 4.028e-06/0.3102, allocations: 0 / 0.5021 GB, free: 32.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=210): time 0.01352/0.3238, allocations: 6.128 MB / 0.5081 GB, free: 28.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/0.3239, allocations: 368.1 kB / 0.5084 GB, free: 28.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.3257, allocations: 1.703 MB / 0.5101 GB, free: 26.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001469/0.3259, allocations: 69.7 kB / 0.5102 GB, free: 26.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005347/0.3264, allocations: 1.05 MB / 0.5112 GB, free: 25.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004466/0.3269, allocations: 0.7271 MB / 0.5119 GB, free: 24.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005251/0.3274, allocations: 457.4 kB / 0.5123 GB, free: 23.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.118e-05/0.3274, allocations: 309.1 kB / 0.5126 GB, free: 23.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.3288, allocations: 0.827 MB / 0.5134 GB, free: 22.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.3303, allocations: 1.354 MB / 0.5148 GB, free: 21.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002785/0.3331, allocations: 2.216 MB / 0.5169 GB, free: 18.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.3331, allocations: 7.938 kB / 0.5169 GB, free: 18.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=337) (initialization): time 0.007224/0.3403, allocations: 3.57 MB / 0.5204 GB, free: 15.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.3404, allocations: 67.39 kB / 0.5205 GB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.3404, allocations: 12 kB / 0.5205 GB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008236/0.3487, allocations: 1.766 MB / 0.5222 GB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/0.3507, allocations: 0.511 MB / 0.5227 GB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02084/0.3716, allocations: 20.38 MB / 0.5426 GB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/0.3739, allocations: 151.4 kB / 0.5428 GB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003446/0.3743, allocations: 99.92 kB / 0.5429 GB, free: 6.559 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002306/0.3766, allocations: 1.087 MB / 0.5439 GB, free: 5.465 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001729/0.3783, allocations: 1.272 MB / 0.5452 GB, free: 3.984 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002934/0.3813, allocations: 2.088 MB / 0.5472 GB, free: 1.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.05e-05/0.3813, allocations: 4 kB / 0.5472 GB, free: 1.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=337) (initialization_lambda0): time 0.006386/0.3877, allocations: 3.07 MB / 0.5502 GB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/0.3878, allocations: 67.41 kB / 0.5503 GB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.3878, allocations: 15.98 kB / 0.5503 GB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007662/0.3955, allocations: 1.461 MB / 0.5517 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002226/0.3977, allocations: 0.5266 MB / 0.5522 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01772/0.4155, allocations: 17.6 MB / 0.5694 GB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/0.4178, allocations: 115.6 kB / 0.5695 GB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003562/0.4182, allocations: 103.9 kB / 0.5696 GB, free: 9.113 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 (NTHV.fault,$PRE.NTHV.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,NTHV.Y.im,$PRE.NTHV.Y.im,NTHV.Y.re,$PRE.NTHV.Y.re,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.0007914/0.419, allocations: 406.9 kB / 0.57 GB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006309/0.4197, allocations: 241.1 kB / 0.5702 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005028/0.4247, allocations: 2.349 MB / 0.5725 GB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.239e-05/0.4247, allocations: 11.95 kB / 0.5725 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4248, allocations: 0 / 0.5725 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/0.4259, allocations: 466 kB / 0.573 GB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004824/0.4264, allocations: 44 kB / 0.573 GB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/0.4279, allocations: 95.69 kB / 0.5731 GB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003264/0.4283, allocations: 157.7 kB / 0.5733 GB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005848/0.4341, allocations: 2.426 MB / 0.5756 GB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02587/0.46, allocations: 13.39 MB / 0.5887 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001469/0.4615, allocations: 0.7613 MB / 0.5895 GB, free: 4.535 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001648/0.4632, allocations: 1.107 MB / 0.5905 GB, free: 3.41 MB / 394.7 MB Notification: Performance of Backend: time 5.01e-07/0.4632, allocations: 0 / 0.5905 GB, free: 3.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01416/0.4774, allocations: 7.378 MB / 0.5978 GB, free: 11.7 MB / 410.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.01207/0.4895, allocations: 8.711 MB / 0.6063 GB, free: 2.867 MB / 410.7 MB Notification: Performance of Templates: time 0.2331/0.7225, allocations: 52.57 MB / 0.6576 GB, free: 136.2 MB / 442.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithPSS.makefile (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)