Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.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.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001699/0.001699, allocations: 183.4 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.33/1.33, allocations: 205.1 MB / 221.8 MB, free: 8.488 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.0009224/0.0009223, allocations: 98.3 kB / 269.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.09036/0.09036, allocations: 14.17 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 55.92 kB / 394.4 MB, free: 62.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08637/0.08748, allocations: 50.13 MB / 444.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01322/0.1007, allocations: 16.34 MB / 460.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.1139, allocations: 6.858 MB / 467.7 MB, free: 4.656 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003142/0.1171, allocations: 71.56 kB / 467.8 MB, free: 4.586 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.1199, allocations: 0.6876 MB / 468.5 MB, free: 3.895 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007254/0.1272, allocations: 2.347 MB / 470.8 MB, free: 1.559 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003785/0.131, allocations: 1.43 MB / 472.3 MB, free: 140 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00668/0.1377, allocations: 5.017 MB / 477.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.1392, allocations: 0.7097 MB / 478 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.1413, allocations: 1.396 MB / 479.4 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.1438, allocations: 1.528 MB / 480.9 MB, free: 7.422 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006816/0.1445, allocations: 124 kB / 481 MB, free: 7.301 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.1464, allocations: 499.7 kB / 481.5 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006428/0.1471, allocations: 461.5 kB / 482 MB, free: 6.359 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002176/0.1492, allocations: 1.429 MB / 483.4 MB, free: 4.922 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004648/0.1539, allocations: 3.738 MB / 487.2 MB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1539, allocations: 4 kB / 487.2 MB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1539, allocations: 0 / 487.2 MB, free: 1.168 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001269/0.1541, allocations: 0 / 487.2 MB, free: 1.168 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.1809/0.335, allocations: 4.04 MB / 491.2 MB, free: 48.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.3351, allocations: 8.781 kB / 491.2 MB, free: 48.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.3365, allocations: 414.6 kB / 491.6 MB, free: 48.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/0.3396, allocations: 1.794 MB / 493.4 MB, free: 47.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.3398, allocations: 165.9 kB / 493.6 MB, free: 47.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/0.3401, allocations: 220.4 kB / 493.8 MB, free: 47.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003395/0.3435, allocations: 2.075 MB / 495.9 MB, free: 46.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.3435, allocations: 1.219 kB / 495.9 MB, free: 46.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.3437, allocations: 83 kB / 495.9 MB, free: 46.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/0.3437, allocations: 48.66 kB / 496 MB, free: 46.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003425/0.3471, allocations: 1.917 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.01253/0.3597, allocations: 11.56 MB / 0.4975 GB, free: 35.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003446/0.3631, allocations: 2.649 MB / 0.5001 GB, free: 33.65 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.3645, allocations: 0.8102 MB / 0.5009 GB, free: 33.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.3646, allocations: 29.36 kB / 0.5009 GB, free: 33.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.3647, allocations: 52.38 kB / 0.501 GB, free: 33.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=194): time 5.36e-06/0.3647, allocations: 0 / 0.501 GB, free: 33.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=195): time 0.01254/0.3772, allocations: 5.504 MB / 0.5064 GB, free: 30.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.3773, allocations: 183.7 kB / 0.5065 GB, free: 29.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/0.3791, allocations: 1.779 MB / 0.5083 GB, free: 28.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.925e-05/0.3792, allocations: 69.7 kB / 0.5083 GB, free: 28.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004673/0.3797, allocations: 1.081 MB / 0.5094 GB, free: 27.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/0.38, allocations: 0.6933 MB / 0.5101 GB, free: 26.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005294/0.3805, allocations: 485.5 kB / 0.5105 GB, free: 25.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.465e-05/0.3806, allocations: 305.1 kB / 0.5108 GB, free: 25.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.3819, allocations: 0.8407 MB / 0.5116 GB, free: 24.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.3835, allocations: 1.467 MB / 0.5131 GB, free: 23.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002711/0.3862, allocations: 2.214 MB / 0.5152 GB, free: 20.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.3863, allocations: 8 kB / 0.5152 GB, free: 20.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=344) (initialization): time 0.007535/0.3938, allocations: 3.765 MB / 0.5189 GB, free: 16.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.3938, allocations: 19.94 kB / 0.5189 GB, free: 16.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.3939, allocations: 16 kB / 0.519 GB, free: 16.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008453/0.4023, allocations: 1.812 MB / 0.5207 GB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.4043, allocations: 0.5383 MB / 0.5212 GB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02103/0.4253, allocations: 19.75 MB / 0.5405 GB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/0.4279, allocations: 167.4 kB / 0.5407 GB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002106/0.4281, allocations: 104 kB / 0.5408 GB, free: 8.879 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001943/0.4301, allocations: 1.075 MB / 0.5418 GB, free: 7.797 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001619/0.4317, allocations: 1.354 MB / 0.5432 GB, free: 6.188 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002739/0.4345, allocations: 2.06 MB / 0.5452 GB, free: 3.875 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.889e-06/0.4345, allocations: 8 kB / 0.5452 GB, free: 3.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=344) (initialization_lambda0): time 0.006035/0.4405, allocations: 2.96 MB / 0.5481 GB, free: 0.832 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.4406, allocations: 16.56 kB / 0.5481 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.4406, allocations: 16 kB / 0.5481 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006798/0.4474, allocations: 1.293 MB / 0.5494 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/0.4498, allocations: 0.6085 MB / 0.55 GB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/0.4644, allocations: 15.29 MB / 0.5649 GB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/0.4667, allocations: 127.5 kB / 0.565 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.4669, allocations: 100 kB / 0.5651 GB, free: 14.02 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.0005385/0.4674, allocations: 344.4 kB / 0.5654 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003481/0.4678, allocations: 252.9 kB / 0.5657 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004272/0.4721, allocations: 2.12 MB / 0.5678 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.649e-05/0.4721, allocations: 7.969 kB / 0.5678 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.4721, allocations: 0 / 0.5678 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008726/0.473, allocations: 461.9 kB / 0.5682 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.4733, allocations: 35.98 kB / 0.5682 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.4744, allocations: 95.64 kB / 0.5683 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002621/0.4746, allocations: 145.8 kB / 0.5685 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005206/0.4799, allocations: 2.099 MB / 0.5705 GB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02315/0.503, allocations: 12.54 MB / 0.5828 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001295/0.5044, allocations: 0.7066 MB / 0.5835 GB, free: 11.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001568/0.5059, allocations: 1.14 MB / 0.5846 GB, free: 9.914 MB / 394.7 MB Notification: Performance of Backend: time 6.41e-07/0.5059, allocations: 0 / 0.5846 GB, free: 9.914 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01325/0.5192, allocations: 6.872 MB / 0.5913 GB, free: 2.797 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.01082/0.53, allocations: 8.304 MB / 0.5994 GB, free: 10.43 MB / 410.7 MB Notification: Performance of Templates: time 0.2583/0.7883, allocations: 50.62 MB / 0.6488 GB, free: 136.4 MB / 442.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)