Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals.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.LoadChange.LoadChangeByInputSignals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals") translateModel(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009249/0.000925, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.4 MB / 222.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06326/0.06326, allocations: 14.16 MB / 284.5 MB, free: 7.031 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.0005529/0.000553, allocations: 12 kB / 348.8 MB, free: 17.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1049, allocations: 51.11 MB / 399.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals): time 0.01067/0.1156, allocations: 10.42 MB / 410.4 MB, free: 3.574 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00965/0.1254, allocations: 5.102 MB / 415.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/0.1278, allocations: 27.88 kB / 415.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.13, allocations: 485.3 kB / 416 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006593/0.1366, allocations: 2 MB / 418 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.1385, allocations: 0.7504 MB / 418.7 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005509/0.1441, allocations: 2.653 MB / 421.4 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006162/0.1447, allocations: 234.1 kB / 421.6 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.1466, allocations: 1.004 MB / 422.6 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.1485, allocations: 1.051 MB / 423.7 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000424/0.149, allocations: 68 kB / 423.7 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.1507, allocations: 427.6 kB / 424.1 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004383/0.1512, allocations: 262.7 kB / 424.4 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008764/0.1521, allocations: 392.7 kB / 424.8 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002433/0.1545, allocations: 1.893 MB / 426.7 MB, free: 3.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1545, allocations: 0 / 426.7 MB, free: 3.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1546, allocations: 3.938 kB / 426.7 MB, free: 3.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.854e-05/0.1546, allocations: 0 / 426.7 MB, free: 3.215 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: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.009306/0.1639, allocations: 2.756 MB / 429.4 MB, free: 400 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.403e-05/0.164, allocations: 16.02 kB / 429.5 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.1658, allocations: 297.5 kB / 429.7 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2093/0.3752, allocations: 1.097 MB / 430.8 MB, free: 36.13 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.3754, allocations: 110 kB / 430.9 MB, free: 36.13 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002747/0.3757, allocations: 148.5 kB / 431.1 MB, free: 36.13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/0.3781, allocations: 1.324 MB / 432.4 MB, free: 35.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.3781, allocations: 5.109 kB / 432.4 MB, free: 35.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.3782, allocations: 56.16 kB / 432.5 MB, free: 35.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.3782, allocations: 34.72 kB / 432.5 MB, free: 35.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.3806, allocations: 1.358 MB / 433.9 MB, free: 35.19 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.01038/0.391, allocations: 8.597 MB / 442.5 MB, free: 28.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/0.3938, allocations: 2.223 MB / 444.7 MB, free: 26.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.346e-05/0.3939, allocations: 29.05 kB / 444.7 MB, free: 26.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/0.3951, allocations: 0.7575 MB / 445.5 MB, free: 26.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=162): time 5.751e-06/0.3951, allocations: 3.688 kB / 445.5 MB, free: 26.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=163): time 0.013/0.4081, allocations: 5.047 MB / 450.5 MB, free: 23.62 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.4082, allocations: 238.1 kB / 450.8 MB, free: 23.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.4098, allocations: 1.018 MB / 451.8 MB, free: 22.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001386/0.41, allocations: 66.59 kB / 451.8 MB, free: 22.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005106/0.4105, allocations: 0.6253 MB / 452.5 MB, free: 22.15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004651/0.411, allocations: 0.5632 MB / 453 MB, free: 21.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.4111, allocations: 40.28 kB / 453.1 MB, free: 21.63 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4112, allocations: 387.7 kB / 453.4 MB, free: 21.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.4123, allocations: 0.5949 MB / 454 MB, free: 20.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.4136, allocations: 0.9294 MB / 455 MB, free: 20.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.4148, allocations: 0.7926 MB / 455.8 MB, free: 19.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.4149, allocations: 6.5 kB / 455.8 MB, free: 19.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.004634/0.4195, allocations: 2.41 MB / 458.2 MB, free: 18.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.502e-05/0.4196, allocations: 68.53 kB / 458.2 MB, free: 18.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/0.4196, allocations: 9.344 kB / 458.3 MB, free: 18.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005851/0.4255, allocations: 1.177 MB / 459.4 MB, free: 17.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.4274, allocations: 495.2 kB / 459.9 MB, free: 17.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009857/0.4372, allocations: 12.59 MB / 472.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.4391, allocations: 107.4 kB / 472.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/0.4394, allocations: 75.98 kB / 472.7 MB, free: 4.258 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition4,$PRE.NTHV.fault,NTHV.fault,$whenCondition1,$whenCondition2,$PRE.NTHV.Y.re,NTHV.Y.re,$PRE.NTHV.Y.im,NTHV.Y.im) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 225 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0} * Non-linear torn systems: 5 {23 0,2 0,2 0,2 0,2 0} Notification: Performance of prepare postOptimizeDAE: time 0.0008734/0.4403, allocations: 430.2 kB / 473.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004572/0.4407, allocations: 158.1 kB / 473.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003187/0.4439, allocations: 1.854 MB / 475.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.444, allocations: 8.719 kB / 475.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.444, allocations: 0 / 475.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007764/0.4447, allocations: 339.1 kB / 475.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003036/0.4451, allocations: 28 kB / 475.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.4461, allocations: 63.67 kB / 475.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/0.4463, allocations: 129.1 kB / 475.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004558/0.4509, allocations: 1.98 MB / 477.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003176/0.4541, allocations: 2.084 MB / 479.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008071/0.4549, allocations: 0.5139 MB / 480.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001166/0.4561, allocations: 0.6545 MB / 480.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of Backend: time 1.172e-06/0.4561, allocations: 0 / 480.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00583/0.4619, allocations: 2.772 MB / 483.7 MB, free: 9.074 MB / 334.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.006869/0.4688, allocations: 4.179 MB / 487.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of Templates: time 0.04164/0.5105, allocations: 21.71 MB / 0.4976 GB, free: 15.18 MB / 366.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals.pipe 2>&1) Environment - environmentSimulation: