Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.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.ControlledGridWithReferenceCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.00158, 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.296/1.296, allocations: 205.1 MB / 221.8 MB, free: 8.484 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.001229/0.001229, allocations: 102.3 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.06134/0.06134, allocations: 14.17 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009706/0.0009706, allocations: 55.92 kB / 394.4 MB, free: 62.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0729/0.07388, allocations: 50.13 MB / 444.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation): time 0.01258/0.0865, allocations: 16.33 MB / 460.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.09721, allocations: 6.854 MB / 467.7 MB, free: 4.645 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.09936, allocations: 75.56 kB / 467.8 MB, free: 4.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.1013, allocations: 0.6798 MB / 468.5 MB, free: 3.887 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00574/0.1071, allocations: 2.347 MB / 470.8 MB, free: 1.551 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.1099, allocations: 1.43 MB / 472.3 MB, free: 128 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00635/0.1163, allocations: 5.009 MB / 477.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.1176, allocations: 0.7213 MB / 478 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002201/0.1198, allocations: 1.388 MB / 479.4 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.1215, allocations: 1.532 MB / 480.9 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.1218, allocations: 124 kB / 481 MB, free: 7.297 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.1231, allocations: 0.4919 MB / 481.5 MB, free: 6.805 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003415/0.1235, allocations: 453.5 kB / 482 MB, free: 6.359 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.1248, allocations: 1.425 MB / 483.4 MB, free: 4.926 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00367/0.1285, allocations: 3.746 MB / 487.1 MB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1285, allocations: 4 kB / 487.1 MB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1285, allocations: 0 / 487.1 MB, free: 1.164 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.522e-05/0.1286, allocations: 0 / 487.1 MB, free: 1.164 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: 507 * Number of variables: 507 Notification: Performance of Generate backend data structure: time 0.1628/0.2913, allocations: 4.032 MB / 491.2 MB, free: 48.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.2914, allocations: 11.72 kB / 491.2 MB, free: 48.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.2931, allocations: 410.1 kB / 491.6 MB, free: 48.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003583/0.2967, allocations: 1.798 MB / 493.4 MB, free: 47.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.2968, allocations: 168.2 kB / 493.6 MB, free: 47.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003832/0.2972, allocations: 223.7 kB / 493.8 MB, free: 47.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003907/0.3012, allocations: 2.071 MB / 495.8 MB, free: 46.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/0.3012, allocations: 1.094 kB / 495.8 MB, free: 46.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.3014, allocations: 87.59 kB / 495.9 MB, free: 46.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.042e-05/0.3014, allocations: 54.53 kB / 496 MB, free: 46.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003867/0.3053, allocations: 1.906 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.01364/0.319, allocations: 11.56 MB / 0.4975 GB, free: 35.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003907/0.3229, allocations: 2.644 MB / 0.5001 GB, free: 33.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.3243, allocations: 0.8137 MB / 0.5009 GB, free: 33.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.3245, allocations: 29.02 kB / 0.5009 GB, free: 33.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.3245, allocations: 57 kB / 0.501 GB, free: 33.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=194): time 4.468e-06/0.3245, allocations: 0 / 0.501 GB, free: 33.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=195): time 0.01417/0.3387, allocations: 5.504 MB / 0.5063 GB, free: 30.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.3388, allocations: 175.9 kB / 0.5065 GB, free: 29.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003191/0.342, allocations: 1.778 MB / 0.5082 GB, free: 28.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003134/0.3423, allocations: 73.7 kB / 0.5083 GB, free: 28.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008293/0.3432, allocations: 1.088 MB / 0.5094 GB, free: 27.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006014/0.3438, allocations: 0.6957 MB / 0.5101 GB, free: 26.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007459/0.3445, allocations: 481.5 kB / 0.5105 GB, free: 25.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.3446, allocations: 305.1 kB / 0.5108 GB, free: 25.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.3462, allocations: 0.8368 MB / 0.5116 GB, free: 24.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.3479, allocations: 1.475 MB / 0.5131 GB, free: 23.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002909/0.3508, allocations: 2.21 MB / 0.5152 GB, free: 20.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.3509, allocations: 4 kB / 0.5152 GB, free: 20.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=344) (initialization): time 0.008211/0.3591, allocations: 3.766 MB / 0.5189 GB, free: 16.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.3591, allocations: 15.94 kB / 0.5189 GB, free: 16.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.3592, allocations: 16 kB / 0.5189 GB, free: 16.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008598/0.3678, allocations: 1.82 MB / 0.5207 GB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/0.3699, allocations: 0.5344 MB / 0.5212 GB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02282/0.3928, allocations: 19.74 MB / 0.5405 GB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/0.3954, allocations: 167.4 kB / 0.5407 GB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003376/0.3958, allocations: 108 kB / 0.5408 GB, free: 8.871 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002251/0.398, allocations: 1.068 MB / 0.5418 GB, free: 7.797 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001846/0.3999, allocations: 1.367 MB / 0.5432 GB, free: 6.176 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003117/0.403, allocations: 2.056 MB / 0.5452 GB, free: 3.867 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.338e-05/0.403, allocations: 4 kB / 0.5452 GB, free: 3.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=344) (initialization_lambda0): time 0.006521/0.4096, allocations: 2.964 MB / 0.5481 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.4096, allocations: 15.94 kB / 0.5481 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/0.4097, allocations: 20.09 kB / 0.5481 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006878/0.4165, allocations: 1.284 MB / 0.5494 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/0.4193, allocations: 0.6085 MB / 0.5499 GB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/0.4348, allocations: 15.31 MB / 0.5649 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/0.4373, allocations: 127.5 kB / 0.565 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003829/0.4377, allocations: 99.98 kB / 0.5651 GB, free: 14.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 5 (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 (287): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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), (10,0)} Notification: Performance of prepare postOptimizeDAE: time 0.000805/0.4385, allocations: 343.5 kB / 0.5654 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007016/0.4392, allocations: 252.9 kB / 0.5657 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004804/0.444, allocations: 2.124 MB / 0.5678 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/0.4441, allocations: 7.969 kB / 0.5678 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4441, allocations: 0 / 0.5678 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.4453, allocations: 457.9 kB / 0.5682 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005368/0.4459, allocations: 36 kB / 0.5682 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.4475, allocations: 91.64 kB / 0.5683 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003306/0.4478, allocations: 149.8 kB / 0.5685 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005654/0.4535, allocations: 2.098 MB / 0.5705 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02725/0.4807, allocations: 12.56 MB / 0.5828 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001544/0.4823, allocations: 0.6949 MB / 0.5834 GB, free: 11.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002174/0.4845, allocations: 1.148 MB / 0.5846 GB, free: 9.902 MB / 394.7 MB Notification: Performance of Backend: time 7.81e-07/0.4846, allocations: 0 / 0.5846 GB, free: 9.902 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01419/0.4987, allocations: 6.861 MB / 0.5913 GB, free: 2.793 MB / 394.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.01252/0.5113, allocations: 8.304 MB / 0.5994 GB, free: 10.42 MB / 410.7 MB Notification: Performance of Templates: time 0.2523/0.7636, allocations: 50.61 MB / 0.6488 GB, free: 136.4 MB / 442.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.pipe 2>&1)