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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001664/0.001664, allocations: 183.2 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.323/1.323, allocations: 205.1 MB / 221.8 MB, free: 8.477 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.001001/0.001001, allocations: 104.2 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0611/0.0611, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009815/0.0009816, allocations: 47.92 kB / 394.4 MB, free: 62.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07088/0.07188, allocations: 50.13 MB / 444.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange): time 0.01167/0.08357, allocations: 16.36 MB / 460.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.09422, allocations: 6.838 MB / 467.7 MB, free: 4.641 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/0.0962, allocations: 71.56 kB / 467.8 MB, free: 4.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.09801, allocations: 0.6954 MB / 468.5 MB, free: 3.871 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005501/0.1036, allocations: 2.346 MB / 470.9 MB, free: 1.535 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002828/0.1064, allocations: 1.44 MB / 472.3 MB, free: 100 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006495/0.1129, allocations: 4.988 MB / 477.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.114, allocations: 0.7132 MB / 478 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/0.1161, allocations: 1.38 MB / 479.4 MB, free: 8.961 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/0.1181, allocations: 1.524 MB / 480.9 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003978/0.1186, allocations: 123.9 kB / 481 MB, free: 7.309 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.12, allocations: 495.7 kB / 481.5 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004057/0.1204, allocations: 453.5 kB / 481.9 MB, free: 6.379 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.1218, allocations: 1.429 MB / 483.4 MB, free: 4.941 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00418/0.126, allocations: 3.734 MB / 487.1 MB, free: 1.195 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.1261, allocations: 0 / 487.1 MB, free: 1.195 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1261, allocations: 4 kB / 487.1 MB, free: 1.191 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001196/0.1262, allocations: 0 / 487.1 MB, free: 1.191 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.1591/0.2853, allocations: 4.086 MB / 491.2 MB, free: 48.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.2854, allocations: 8.562 kB / 491.2 MB, free: 48.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.2869, allocations: 426.5 kB / 491.6 MB, free: 48.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/0.29, allocations: 1.785 MB / 493.4 MB, free: 47.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.2902, allocations: 164.8 kB / 493.6 MB, free: 47.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/0.2904, allocations: 224.5 kB / 493.8 MB, free: 47.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003553/0.294, allocations: 2.096 MB / 495.9 MB, free: 46.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/0.2941, allocations: 1.125 kB / 495.9 MB, free: 46.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.2942, allocations: 82.66 kB / 496 MB, free: 46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.97e-05/0.2943, allocations: 52.73 kB / 496 MB, free: 46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003405/0.2977, allocations: 1.935 MB / 498 MB, free: 45.36 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.01197/0.3097, allocations: 11.5 MB / 0.4975 GB, free: 35.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00353/0.3132, allocations: 2.731 MB / 0.5002 GB, free: 33.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.3145, allocations: 0.8583 MB / 0.501 GB, free: 33.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.3146, allocations: 31.33 kB / 0.501 GB, free: 33.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001591/0.3162, allocations: 1.093 MB / 0.5021 GB, free: 32.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=209): time 4.268e-06/0.3162, allocations: 0 / 0.5021 GB, free: 32.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=210): time 0.01384/0.3301, allocations: 6.122 MB / 0.5081 GB, free: 28.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.3301, allocations: 368.1 kB / 0.5084 GB, free: 28.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.3319, allocations: 1.703 MB / 0.5101 GB, free: 26.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.332, allocations: 69.7 kB / 0.5102 GB, free: 26.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005608/0.3326, allocations: 1.046 MB / 0.5112 GB, free: 25.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004081/0.333, allocations: 0.7349 MB / 0.5119 GB, free: 24.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005226/0.3335, allocations: 461.4 kB / 0.5124 GB, free: 23.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.505e-05/0.3336, allocations: 301.1 kB / 0.5126 GB, free: 23.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.3348, allocations: 0.8248 MB / 0.5134 GB, free: 22.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.3363, allocations: 1.362 MB / 0.5148 GB, free: 21.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002627/0.3389, allocations: 2.211 MB / 0.5169 GB, free: 18.85 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.3389, 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.006927/0.3459, allocations: 3.577 MB / 0.5204 GB, free: 15.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.3459, allocations: 65.81 kB / 0.5205 GB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.3459, allocations: 12 kB / 0.5205 GB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008263/0.3542, allocations: 1.762 MB / 0.5222 GB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/0.3563, allocations: 0.5149 MB / 0.5227 GB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02003/0.3763, allocations: 20.38 MB / 0.5426 GB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002933/0.3793, allocations: 152.1 kB / 0.5428 GB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002419/0.3795, allocations: 95.98 kB / 0.5429 GB, free: 6.555 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001877/0.3814, allocations: 1.087 MB / 0.5439 GB, free: 5.461 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00147/0.3829, allocations: 1.276 MB / 0.5452 GB, free: 3.977 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002654/0.3856, allocations: 2.077 MB / 0.5472 GB, free: 1.684 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.923e-06/0.3856, allocations: 0 / 0.5472 GB, free: 1.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=337) (initialization_lambda0): time 0.006055/0.3916, allocations: 3.084 MB / 0.5502 GB, free: 14.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.236e-05/0.3917, allocations: 65.27 kB / 0.5503 GB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.3918, allocations: 12 kB / 0.5503 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007476/0.3992, allocations: 1.468 MB / 0.5517 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/0.4013, allocations: 0.5382 MB / 0.5523 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/0.4178, allocations: 17.6 MB / 0.5694 GB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.4199, allocations: 119.6 kB / 0.5696 GB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.4201, allocations: 92 kB / 0.5696 GB, free: 9.109 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.0005312/0.4206, allocations: 399.6 kB / 0.57 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003343/0.421, allocations: 249.1 kB / 0.5703 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004451/0.4254, allocations: 2.346 MB / 0.5726 GB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.4254, allocations: 11.95 kB / 0.5726 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4255, allocations: 8 kB / 0.5726 GB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007823/0.4262, allocations: 462 kB / 0.573 GB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002602/0.4265, allocations: 47.98 kB / 0.5731 GB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.4277, allocations: 87.7 kB / 0.5731 GB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002624/0.4279, allocations: 165.7 kB / 0.5733 GB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005356/0.4333, allocations: 2.42 MB / 0.5757 GB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02323/0.4565, allocations: 13.39 MB / 0.5887 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00128/0.4578, allocations: 0.773 MB / 0.5895 GB, free: 4.531 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001345/0.4592, allocations: 1.099 MB / 0.5906 GB, free: 3.414 MB / 394.7 MB Notification: Performance of Backend: time 3.31e-07/0.4592, allocations: 0 / 0.5906 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01277/0.472, allocations: 7.385 MB / 0.5978 GB, free: 11.69 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.009733/0.4817, allocations: 8.706 MB / 0.6063 GB, free: 2.859 MB / 410.7 MB Notification: Performance of Templates: time 0.2162/0.698, allocations: 52.56 MB / 0.6576 GB, free: 136.2 MB / 442.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridParametersChange.makefile (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)