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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 215.9 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 207.7 MB / 233.1 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07616/0.07616, allocations: 14.39 MB / 299.7 MB, free: 7.242 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002692/0.002692, allocations: 67.91 kB / 423.5 MB, free: 36.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1476, allocations: 52.9 MB / 476.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.0186/0.1662, allocations: 13.81 MB / 490.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01529/0.1815, allocations: 6.476 MB / 496.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003869/0.1854, allocations: 99.19 kB / 496.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003438/0.1888, allocations: 0.7988 MB / 497.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009107/0.1979, allocations: 2.578 MB / 0.4884 GB, free: 7.359 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004411/0.2024, allocations: 1.531 MB / 0.4899 GB, free: 5.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008661/0.211, allocations: 5.067 MB / 0.4949 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0019/0.2129, allocations: 483.5 kB / 0.4953 GB, free: 252 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004506/0.2174, allocations: 1.806 MB / 0.4971 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003813/0.2212, allocations: 1.672 MB / 0.4987 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001284/0.2225, allocations: 288 kB / 0.499 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.2252, allocations: 0.6794 MB / 0.4997 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001188/0.2264, allocations: 0.6302 MB / 0.5003 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003323/0.2297, allocations: 1.357 MB / 0.5016 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008034/0.2378, allocations: 4.269 MB / 0.5058 GB, free: 5.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2378, allocations: 0 / 0.5058 GB, free: 5.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2378, allocations: 0 / 0.5058 GB, free: 5.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002459/0.238, allocations: 4 kB / 0.5058 GB, free: 5.508 MB / 382.1 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.01919/0.2572, allocations: 4.204 MB / 0.5099 GB, free: 1.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.937e-05/0.2573, allocations: 12.03 kB / 0.5099 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/0.2601, allocations: 422.8 kB / 0.5103 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006032/0.2661, allocations: 1.852 MB / 0.5121 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/0.2663, allocations: 164.3 kB / 0.5123 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007817/0.2671, allocations: 235.9 kB / 0.5125 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006074/0.2732, allocations: 2.202 MB / 0.5147 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.786e-05/0.2732, allocations: 0 / 0.5147 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.2735, allocations: 84 kB / 0.5147 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.227e-05/0.2736, allocations: 52 kB / 0.5148 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004764/0.2783, allocations: 1.897 MB / 0.5166 GB, free: 10.18 MB / 398.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.02231/0.3006, allocations: 7.643 MB / 0.5241 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004199/0.3048, allocations: 1.76 MB / 0.5258 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3341/0.6389, allocations: 0.7411 MB / 0.5265 GB, free: 59.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/0.6391, allocations: 24.69 kB / 0.5266 GB, free: 59.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/0.6392, allocations: 57.88 kB / 0.5266 GB, free: 59.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 5.391e-06/0.6392, allocations: 0 / 0.5266 GB, free: 59.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.01126/0.6504, allocations: 3.334 MB / 0.5299 GB, free: 59.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.6505, allocations: 177.2 kB / 0.5301 GB, free: 59.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003556/0.6541, allocations: 1.853 MB / 0.5319 GB, free: 58.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003016/0.6544, allocations: 68.2 kB / 0.5319 GB, free: 58.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008554/0.6552, allocations: 1.125 MB / 0.533 GB, free: 58.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000802/0.656, allocations: 0.7188 MB / 0.5337 GB, free: 57.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007857/0.6568, allocations: 473.2 kB / 0.5342 GB, free: 57.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.644e-05/0.6569, allocations: 303.1 kB / 0.5345 GB, free: 57.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001847/0.6587, allocations: 0.832 MB / 0.5353 GB, free: 56.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002737/0.6615, allocations: 1.722 MB / 0.537 GB, free: 55.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003882/0.6653, allocations: 2.184 MB / 0.5391 GB, free: 53.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-05/0.6654, allocations: 4.406 kB / 0.5391 GB, free: 53.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=336) (initialization): time 0.009621/0.675, allocations: 3.729 MB / 0.5427 GB, free: 52.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.675, allocations: 12.12 kB / 0.5428 GB, free: 52.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/0.6751, allocations: 15.88 kB / 0.5428 GB, free: 52.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008436/0.6835, allocations: 1.813 MB / 0.5445 GB, free: 52.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/0.6858, allocations: 0.528 MB / 0.5451 GB, free: 52.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02089/0.7067, allocations: 19.84 MB / 0.5644 GB, free: 32.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003782/0.7105, allocations: 268.1 kB / 0.5647 GB, free: 32.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002885/0.7108, allocations: 99.98 kB / 0.5648 GB, free: 32.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002075/0.7128, allocations: 1.067 MB / 0.5658 GB, free: 31.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001405/0.7142, allocations: 1.615 MB / 0.5674 GB, free: 29.33 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002815/0.7171, allocations: 2.03 MB / 0.5694 GB, free: 27.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-05/0.7171, allocations: 8 kB / 0.5694 GB, free: 27.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.007003/0.7241, allocations: 2.916 MB / 0.5722 GB, free: 24.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.7241, allocations: 14.62 kB / 0.5723 GB, free: 24.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.7241, allocations: 16.56 kB / 0.5723 GB, free: 24.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006196/0.7303, allocations: 1.307 MB / 0.5735 GB, free: 22.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/0.7328, allocations: 0.5929 MB / 0.5741 GB, free: 22.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/0.7449, allocations: 15.23 MB / 0.589 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003331/0.7482, allocations: 195.5 kB / 0.5892 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.7483, allocations: 99.98 kB / 0.5893 GB, free: 5.617 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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 (279): * Single equations (assignments): 268 * 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.0007813/0.7491, allocations: 330.2 kB / 0.5896 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004311/0.7496, allocations: 250.4 kB / 0.5898 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003788/0.7533, allocations: 2.1 MB / 0.5919 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/0.7534, allocations: 15.89 kB / 0.5919 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-06/0.7534, allocations: 0 / 0.5919 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/0.7547, allocations: 445.7 kB / 0.5923 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002926/0.755, allocations: 32 kB / 0.5923 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.7564, allocations: 82.77 kB / 0.5924 GB, free: 2.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002686/0.7567, allocations: 153.7 kB / 0.5926 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004726/0.7614, allocations: 2.073 MB / 0.5946 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005398/0.7668, allocations: 2.662 MB / 0.5972 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001334/0.7681, allocations: 0.6598 MB / 0.5978 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002293/0.7704, allocations: 1.182 MB / 0.599 GB, free: 11.66 MB / 414.1 MB Notification: Performance of Backend: time 3.7e-07/0.7704, allocations: 4 kB / 0.599 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01692/0.7873, allocations: 6.727 MB / 0.6056 GB, free: 4.707 MB / 414.1 MB Notification: Performance of SimCode: time 0.01281/0.8001, allocations: 5.384 MB / 0.6108 GB, free: 15.31 MB / 430.1 MB Notification: Performance of Templates: time 0.1099/0.9101, allocations: 56.85 MB / 0.6663 GB, free: 6.504 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.864342574030161] Failed to read output from testmodel.py, exit status != 0: 0.9210738856345415 0.937624379 0.696194181 Calling exit ...