Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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.001291/0.001291, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00146/0.00146, allocations: 219.2 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08171/0.08171, allocations: 16.96 MB / 330.2 MB, free: 2.363 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") [Timeout 660] "Notification: PowerGrids requested package Modelica of version 4.0.0. Modelica 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.002023/0.002023, allocations: 63.91 kB / 461.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1225, allocations: 57.76 MB / 0.5069 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.2612/0.3837, allocations: 35.12 MB / 0.5412 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02284/0.4065, allocations: 9.905 MB / 0.5508 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005965/0.4125, allocations: 148.7 kB / 0.551 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004976/0.4174, allocations: 1.345 MB / 0.5523 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01365/0.4311, allocations: 4.097 MB / 0.5563 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007715/0.4388, allocations: 2.609 MB / 0.5588 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01685/0.4557, allocations: 8.628 MB / 0.5673 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008282/0.4639, allocations: 2.585 MB / 0.5698 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01148/0.4754, allocations: 3.048 MB / 0.5728 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008513/0.4839, allocations: 3.085 MB / 0.5758 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002566/0.4865, allocations: 476.2 kB / 0.5762 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005473/0.492, allocations: 1.023 MB / 0.5772 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00219/0.4942, allocations: 1.07 MB / 0.5783 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006656/0.5008, allocations: 2.325 MB / 0.5805 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01348/0.5143, allocations: 7.21 MB / 0.5876 GB, free: 7.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.5143, allocations: 4 kB / 0.5876 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5143, allocations: 0 / 0.5876 GB, free: 7.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002611/0.5146, allocations: 0 / 0.5876 GB, free: 7.637 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 862 * Number of variables: 862 Notification: Performance of Generate backend data structure: time 0.02649/0.5411, allocations: 7.07 MB / 0.5945 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.026e-05/0.5411, allocations: 12.03 kB / 0.5945 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007332/0.5485, allocations: 1.096 MB / 0.5956 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009427/0.5579, allocations: 3.119 MB / 0.5986 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003408/0.5582, allocations: 283.1 kB / 0.5989 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/0.5593, allocations: 381.6 kB / 0.5992 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009162/0.5684, allocations: 4.774 MB / 0.6039 GB, free: 6.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.552e-05/0.5685, allocations: 23.81 kB / 0.6039 GB, free: 6.156 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005069/0.569, allocations: 156 kB / 0.6041 GB, free: 6.004 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/0.5691, allocations: 88 kB / 0.6042 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008342/0.5775, allocations: 3.187 MB / 0.6073 GB, free: 2.719 MB / 446.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.03921/0.6167, allocations: 19.94 MB / 0.6268 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006553/0.6232, allocations: 2.696 MB / 0.6294 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002413/0.6256, allocations: 1.105 MB / 0.6305 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/0.6258, allocations: 46.98 kB / 0.6305 GB, free: 10.35 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.31e-05/0.6259, allocations: 69.56 kB / 0.6306 GB, free: 10.27 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 6.012e-06/0.6259, allocations: 0 / 0.6306 GB, free: 10.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=297): time 0.01814/0.6441, allocations: 5.149 MB / 0.6356 GB, free: 5.109 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002244/0.6443, allocations: 218.9 kB / 0.6358 GB, free: 4.855 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006974/0.6513, allocations: 3.481 MB / 0.6392 GB, free: 1.348 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007267/0.652, allocations: 97.69 kB / 0.6393 GB, free: 1.246 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002309/0.6543, allocations: 1.972 MB / 0.6412 GB, free: 15.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001953/0.6562, allocations: 1.205 MB / 0.6424 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003083/0.6593, allocations: 1.489 MB / 0.6439 GB, free: 12.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.6596, allocations: 305.1 kB / 0.6442 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00541/0.665, allocations: 2.355 MB / 0.6465 GB, free: 9.863 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007284/0.6722, allocations: 3.522 MB / 0.6499 GB, free: 6.059 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009997/0.6822, allocations: 4.617 MB / 0.6544 GB, free: 1.258 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-05/0.6823, allocations: 4 kB / 0.6544 GB, free: 1.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=1060) (initialization): time 0.02483/0.7071, allocations: 8.275 MB / 0.6625 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/0.7072, allocations: 11.98 kB / 0.6625 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.915e-05/0.7072, allocations: 16 kB / 0.6625 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01337/0.7206, allocations: 2.168 MB / 0.6646 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007847/0.7284, allocations: 1.588 MB / 0.6662 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03656/0.765, allocations: 24.03 MB / 0.6896 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008064/0.7731, allocations: 0.5862 MB / 0.6902 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/0.7743, allocations: 264 kB / 0.6905 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007177/0.7815, allocations: 2.863 MB / 0.6933 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00604/0.7876, allocations: 3.409 MB / 0.6966 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008341/0.7959, allocations: 4.457 MB / 0.701 GB, free: 15.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.084e-05/0.7959, allocations: 4 kB / 0.701 GB, free: 15.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=1060) (initialization_lambda0): time 0.0181/0.814, allocations: 7.479 MB / 0.7083 GB, free: 8.156 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.8141, allocations: 8.531 kB / 0.7083 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-05/0.8141, allocations: 12.28 kB / 0.7083 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/0.8251, allocations: 1.651 MB / 0.7099 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007853/0.833, allocations: 1.662 MB / 0.7115 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02467/0.8576, allocations: 19.42 MB / 0.7305 GB, free: 136 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2377/1.095, allocations: 465.2 kB / 0.7309 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001242/1.097, allocations: 266.2 kB / 0.7312 GB, free: 174.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 9 (GRIDL.componentPF.isSlackBus,GRID.componentPF.isSlackBus,NTLV.componentPF.isSlackBus,GEN.componentPF.isSlackBus,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 (984): * Single equations (assignments): 971 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,0,100.0%), (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): 7 systems {(38,0), (10,0), (19,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001321/1.098, allocations: 0.518 MB / 0.7317 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/1.099, allocations: 432.7 kB / 0.7321 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006706/1.106, allocations: 3.155 MB / 0.7352 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-05/1.106, allocations: 15.91 kB / 0.7352 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/1.106, allocations: 5 kB / 0.7352 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00297/1.109, allocations: 0.7922 MB / 0.736 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001079/1.11, allocations: 51.97 kB / 0.736 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003865/1.114, allocations: 152.7 kB / 0.7362 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000729/1.115, allocations: 232.8 kB / 0.7364 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008701/1.124, allocations: 3.202 MB / 0.7395 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007597/1.131, allocations: 4.048 MB / 0.7435 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001795/1.133, allocations: 0.9953 MB / 0.7444 GB, free: 173 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004082/1.137, allocations: 2.134 MB / 0.7465 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of Backend: time 5.51e-07/1.137, allocations: 3.844 kB / 0.7465 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02928/1.166, allocations: 12.22 MB / 0.7585 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01437/1.181, allocations: 8.147 MB / 0.7664 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.1412/1.322, allocations: 111.3 MB / 0.8751 GB, free: 62.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1) [Timeout 50] [Calling os._exit(0), Time elapsed: 10.396882324945182] Failed to read output from testmodel.py, exit status != 0: 1.3316427519312128 1.340611226 0.8236883460000001 Calling exit ...