Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.001448/0.001448, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.29/1.29, allocations: 177.1 MB / 199.4 MB, free: 8.449 MB / 190.1 MB " [Timeout remaining time 179] 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.001554/0.001554, allocations: 175.7 kB / 256 MB, free: 4.32 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5424/0.5424, allocations: 80.36 MB / 392.7 MB, free: 29.65 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 0.5555 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.316e-05, allocations: 9.453 kB / 0.5555 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.005029/0.005053, allocations: 5.518 MB / 0.5609 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.008154, allocations: 1.83 MB / 0.5627 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004228/0.008577, allocations: 9.281 kB / 0.5627 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004186/0.008996, allocations: 206.8 kB / 0.5629 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.01062, allocations: 0.8162 MB / 0.5637 GB, free: 8.512 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.0117, allocations: 0.5823 MB / 0.5642 GB, free: 8.164 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.01281, allocations: 1.418 MB / 0.5656 GB, free: 7.277 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.0131, allocations: 197.7 kB / 0.5658 GB, free: 7.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008171/0.01392, allocations: 0.8187 MB / 0.5666 GB, free: 6.629 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006265/0.01454, allocations: 0.6116 MB / 0.5672 GB, free: 6.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.01471, allocations: 104.2 kB / 0.5673 GB, free: 6.258 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004572/0.01517, allocations: 252.6 kB / 0.5675 GB, free: 6.191 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.01535, allocations: 293.4 kB / 0.5678 GB, free: 5.945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.01569, allocations: 418.5 kB / 0.5682 GB, free: 5.684 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.01693, allocations: 1.546 MB / 0.5697 GB, free: 4.555 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01693, allocations: 0 / 0.5697 GB, free: 4.555 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01693, allocations: 5.312 kB / 0.5697 GB, free: 4.551 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.01695, allocations: 3.938 kB / 0.5697 GB, free: 4.547 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.007647/0.02459, allocations: 2.46 MB / 0.5721 GB, free: 3.027 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.02463, allocations: 9.625 kB / 0.5721 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004856/0.02948, allocations: 0.7678 MB / 0.5729 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.03054, allocations: 0.7314 MB / 0.5736 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.03079, allocations: 363.5 kB / 0.574 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.03093, allocations: 77.17 kB / 0.574 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.03309, allocations: 1.183 MB / 0.5752 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.03311, allocations: 4 kB / 0.5752 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.393e-05/0.03319, allocations: 25.94 kB / 0.5752 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.03321, allocations: 21.88 kB / 0.5752 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.03507, allocations: 0.9422 MB / 0.5761 GB, free: 0.5508 MB / 430.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.005602/0.04067, allocations: 2.648 MB / 0.5787 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007661/0.04833, allocations: 1.925 MB / 0.5806 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.04972, allocations: 0.5897 MB / 0.5812 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.47e-05/0.04981, allocations: 16.64 kB / 0.5812 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.04985, allocations: 47.16 kB / 0.5813 GB, free: 11.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=92): time 2.785e-06/0.04985, allocations: 0 / 0.5813 GB, free: 11.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=92): time 0.02899/0.07885, allocations: 6.697 MB / 0.5878 GB, free: 4.816 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.07895, allocations: 97.7 kB / 0.5879 GB, free: 4.703 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.0803, allocations: 0.9366 MB / 0.5888 GB, free: 3.746 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.08044, allocations: 45.7 kB / 0.5888 GB, free: 3.695 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/0.08082, allocations: 465.3 kB / 0.5893 GB, free: 3.234 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.08116, allocations: 325.3 kB / 0.5896 GB, free: 2.914 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004343/0.08159, allocations: 234.8 kB / 0.5898 GB, free: 2.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.08176, allocations: 353.9 kB / 0.5902 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.08328, allocations: 0.6864 MB / 0.5908 GB, free: 1.641 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.08492, allocations: 0.8601 MB / 0.5917 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02334/0.1083, allocations: 5.192 MB / 0.5967 GB, free: 11.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.1083, allocations: 0 / 0.5967 GB, free: 11.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.01358/0.1218, allocations: 4.04 MB / 0.6007 GB, free: 7.426 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.1219, allocations: 12 kB / 0.6007 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.1219, allocations: 4 kB / 0.6007 GB, free: 7.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005707/0.1276, allocations: 1.515 MB / 0.6022 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.1287, allocations: 235.7 kB / 0.6024 GB, free: 5.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02046/0.1492, allocations: 7.961 MB / 0.6102 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.1507, allocations: 159.4 kB / 0.6103 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.1509, allocations: 55.97 kB / 0.6104 GB, free: 13.37 MB / 478.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(19,12,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005406/0.1514, allocations: 263 kB / 0.6106 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009954/0.1524, allocations: 337.4 kB / 0.611 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/0.1651, allocations: 3.561 MB / 0.6144 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.1651, allocations: 8 kB / 0.6144 GB, free: 9.18 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.1652, allocations: 8 kB / 0.6144 GB, free: 9.172 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.1652, allocations: 7.922 kB / 0.6145 GB, free: 9.164 MB / 478.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 postOpt removeSimpleEquations (simulation): time 0.0149/0.1801, allocations: 4.57 MB / 0.6189 GB, free: 4.539 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.1801, allocations: 0 / 0.6189 GB, free: 4.539 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006343/0.1807, allocations: 115.8 kB / 0.619 GB, free: 4.426 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005879/0.1866, allocations: 1.57 MB / 0.6206 GB, free: 2.848 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.1867, allocations: 27.92 kB / 0.6206 GB, free: 2.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02076/0.2075, allocations: 10.32 MB / 0.6307 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2075, allocations: 0 / 0.6307 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/0.2227, allocations: 4.582 MB / 0.6351 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/0.2231, allocations: 135.1 kB / 0.6353 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.2233, allocations: 16 kB / 0.6353 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009929/0.2242, allocations: 87.89 kB / 0.6354 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000534/0.2248, allocations: 184.8 kB / 0.6356 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.622e-05/0.2249, allocations: 28.17 kB / 0.6356 GB, free: 3.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000819/0.2257, allocations: 0.6308 MB / 0.6362 GB, free: 2.539 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2257, allocations: 0 / 0.6362 GB, free: 2.539 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001231/0.2269, allocations: 439.6 kB / 0.6366 GB, free: 2.109 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002777/0.2272, allocations: 139.1 kB / 0.6367 GB, free: 1.965 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006067/0.2333, allocations: 2.127 MB / 0.6388 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2333, allocations: 0 / 0.6388 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004106/0.2374, allocations: 1.254 MB / 0.64 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.2387, allocations: 343.7 kB / 0.6404 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.2424, allocations: 1.985 MB / 0.6423 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.2428, allocations: 493.8 kB / 0.6428 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002892/0.2431, allocations: 95.05 kB / 0.6429 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.2434, allocations: 84.41 kB / 0.643 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of SimCode: time 6.52e-07/0.2434, allocations: 4 kB / 0.643 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of Templates: time 0.03568/0.279, allocations: 23.37 MB / 0.6658 GB, free: 4.18 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.357132505625486] Failed to read output from testmodel.py, exit status != 0: 0.2869204990565777 0.30058675399999996 0.280895129 Calling exit ...