Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS.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.ControlledGridWithoutPSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 183 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.306/1.306, allocations: 205.1 MB / 221.8 MB, free: 8.469 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.001012/0.001012, allocations: 102.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.05944/0.05944, allocations: 14.17 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 59.91 kB / 394.4 MB, free: 62.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0768/0.07798, allocations: 50.13 MB / 444.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS): time 0.01033/0.08836, allocations: 14.34 MB / 458.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009354/0.09775, allocations: 6.094 MB / 465 MB, free: 7.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.09975, allocations: 47.81 kB / 465 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.1016, allocations: 0.6064 MB / 465.6 MB, free: 6.773 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005398/0.107, allocations: 2.211 MB / 467.8 MB, free: 4.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.1092, allocations: 1.153 MB / 469 MB, free: 3.422 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004973/0.1142, allocations: 4.369 MB / 473.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007166/0.1149, allocations: 449.6 kB / 473.8 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.1164, allocations: 1.182 MB / 475 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.1179, allocations: 1.322 MB / 476.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000231/0.1181, allocations: 99.94 kB / 476.4 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.1193, allocations: 479.7 kB / 476.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002994/0.1196, allocations: 366 kB / 477.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.1207, allocations: 1.193 MB / 478.4 MB, free: 9.93 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002623/0.1233, allocations: 3.107 MB / 481.5 MB, free: 6.812 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1233, allocations: 4 kB / 481.5 MB, free: 6.809 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1233, allocations: 0 / 481.5 MB, free: 6.809 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.897e-05/0.1233, allocations: 0 / 481.5 MB, free: 6.809 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.009366/0.1327, allocations: 3.554 MB / 485.1 MB, free: 3.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1328, allocations: 8.031 kB / 485.1 MB, free: 3.172 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.134, allocations: 357.8 kB / 485.4 MB, free: 2.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.1363, allocations: 1.44 MB / 486.9 MB, free: 1.328 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.797e-05/0.1364, allocations: 139.2 kB / 487 MB, free: 1.191 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.1366, allocations: 187.9 kB / 487.2 MB, free: 1.008 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1483/0.2849, allocations: 1.723 MB / 488.9 MB, free: 48.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.108e-05/0.285, allocations: 0.5625 kB / 488.9 MB, free: 48.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.2853, allocations: 72.66 kB / 489 MB, free: 48.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/0.2853, allocations: 40.47 kB / 489 MB, free: 48.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003862/0.2892, allocations: 1.684 MB / 490.7 MB, free: 47.59 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.01257/0.3018, allocations: 9.907 MB / 0.4889 GB, free: 40.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003171/0.305, allocations: 2.49 MB / 0.4913 GB, free: 38.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.306, allocations: 0.7421 MB / 0.4921 GB, free: 38.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.569e-05/0.3061, allocations: 37.16 kB / 0.4921 GB, free: 38.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001269/0.3074, allocations: 0.9842 MB / 0.493 GB, free: 37.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=184): time 3.797e-06/0.3074, allocations: 0 / 0.493 GB, free: 37.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=185): time 0.01409/0.3215, allocations: 5.603 MB / 0.4985 GB, free: 34.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.3217, allocations: 340.1 kB / 0.4988 GB, free: 34.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/0.3238, allocations: 1.359 MB / 0.5002 GB, free: 33.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.3239, allocations: 67.33 kB / 0.5002 GB, free: 33.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005374/0.3245, allocations: 0.8215 MB / 0.501 GB, free: 32.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004306/0.3249, allocations: 0.6315 MB / 0.5017 GB, free: 32.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005734/0.3255, allocations: 411.6 kB / 0.502 GB, free: 31.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.384e-05/0.3256, allocations: 301.1 kB / 0.5023 GB, free: 31.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.3269, allocations: 0.7349 MB / 0.5031 GB, free: 31.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.3285, allocations: 1.177 MB / 0.5042 GB, free: 30.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/0.3309, allocations: 1.961 MB / 0.5061 GB, free: 28.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.3309, allocations: 3.969 kB / 0.5061 GB, free: 28.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=299) (initialization): time 0.00636/0.3372, allocations: 3.207 MB / 0.5093 GB, free: 27.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.3373, allocations: 70.28 kB / 0.5093 GB, free: 27.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.3373, allocations: 16.03 kB / 0.5093 GB, free: 27.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007908/0.3452, allocations: 1.648 MB / 0.5109 GB, free: 25.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.3469, allocations: 463.3 kB / 0.5114 GB, free: 25.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01629/0.3632, allocations: 17.61 MB / 0.5286 GB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.365, allocations: 127.5 kB / 0.5287 GB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.3652, allocations: 83.98 kB / 0.5288 GB, free: 5.926 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001467/0.3666, allocations: 0.9537 MB / 0.5297 GB, free: 4.965 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00109/0.3677, allocations: 1.111 MB / 0.5308 GB, free: 3.676 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001889/0.3696, allocations: 1.844 MB / 0.5326 GB, free: 1.668 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.06e-06/0.3697, allocations: 0 / 0.5326 GB, free: 1.668 MB / 330.7 MB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.004899/0.3746, allocations: 2.742 MB / 0.5353 GB, free: 14.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.3746, allocations: 67.39 kB / 0.5353 GB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.3746, allocations: 8 kB / 0.5354 GB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007/0.3816, allocations: 1.358 MB / 0.5367 GB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/0.3835, allocations: 475.3 kB / 0.5371 GB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01499/0.3985, allocations: 14.82 MB / 0.5516 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.4004, allocations: 103.7 kB / 0.5517 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/0.4006, allocations: 87.92 kB / 0.5518 GB, free: 12.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 12 (NTHV.fault,$PRE.NTHV.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,NTHV.Y.im,$PRE.NTHV.Y.im,NTHV.Y.re,$PRE.NTHV.Y.re,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 (248): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,0,66.7%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%)} * 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.0005702/0.4012, allocations: 383.9 kB / 0.5521 GB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004529/0.4016, allocations: 201.6 kB / 0.5523 GB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004274/0.4059, allocations: 2.105 MB / 0.5544 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.317e-05/0.4059, allocations: 15.97 kB / 0.5544 GB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.406, allocations: 0 / 0.5544 GB, free: 10 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007863/0.4068, allocations: 406.4 kB / 0.5548 GB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.407, allocations: 39.98 kB / 0.5548 GB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.4081, allocations: 91.64 kB / 0.5549 GB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.4084, allocations: 141.8 kB / 0.5551 GB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004956/0.4133, allocations: 2.174 MB / 0.5572 GB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01911/0.4325, allocations: 10.87 MB / 0.5678 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001215/0.4337, allocations: 0.6559 MB / 0.5684 GB, free: 11.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001281/0.435, allocations: 0.8766 MB / 0.5693 GB, free: 10.56 MB / 378.7 MB Notification: Performance of Backend: time 5.21e-07/0.435, allocations: 0 / 0.5693 GB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01246/0.4475, allocations: 6.541 MB / 0.5757 GB, free: 3.77 MB / 378.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.008787/0.4563, allocations: 7.35 MB / 0.5829 GB, free: 12.31 MB / 394.7 MB Notification: Performance of Templates: time 0.06572/0.5221, allocations: 45.17 MB / 0.627 GB, free: 15.18 MB / 442.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithoutPSS.pipe 2>&1)