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.0008628/0.0008628, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 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 0.876/0.876, allocations: 177.1 MB / 200.2 MB, free: 5.945 MB / 186.7 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.001477/0.001477, allocations: 164.3 kB / 256.7 MB, free: 13.34 MB / 250.7 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.2568/0.2568, allocations: 80.36 MB / 393.5 MB, free: 2.391 MB / 314.7 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.653e-06/1.653e-06, allocations: 0 / 0.5562 GB, free: 12.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.843e-05, allocations: 9.453 kB / 0.5562 GB, free: 12.08 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.004965/0.004994, allocations: 5.511 MB / 0.5616 GB, free: 6.539 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.008109, allocations: 1.822 MB / 0.5634 GB, free: 4.711 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005627/0.008672, allocations: 12 kB / 0.5634 GB, free: 4.699 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.009113, allocations: 210.1 kB / 0.5636 GB, free: 4.492 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.01058, allocations: 0.8056 MB / 0.5644 GB, free: 3.684 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009316/0.01151, allocations: 0.574 MB / 0.5649 GB, free: 3.117 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.01281, allocations: 1.424 MB / 0.5663 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.01316, allocations: 188.3 kB / 0.5665 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.01418, allocations: 0.8259 MB / 0.5673 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006534/0.01484, allocations: 0.6075 MB / 0.5679 GB, free: 56 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000201/0.01504, allocations: 104 kB / 0.568 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007121/0.01575, allocations: 255.7 kB / 0.5683 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.01591, allocations: 294.6 kB / 0.5685 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002904/0.0162, allocations: 418.6 kB / 0.5689 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.01759, allocations: 1.546 MB / 0.5704 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.01759, allocations: 0 / 0.5704 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.0176, allocations: 4 kB / 0.5704 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.494e-05/0.01763, allocations: 0 / 0.5704 GB, free: 13.45 MB / 0.4948 GB 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.004609/0.02224, allocations: 2.455 MB / 0.5728 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.02228, allocations: 12.03 kB / 0.5729 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002521/0.02481, allocations: 0.7718 MB / 0.5736 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.02599, allocations: 0.7334 MB / 0.5743 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002844/0.02627, allocations: 366.9 kB / 0.5747 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.02639, allocations: 80 kB / 0.5748 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.02846, allocations: 1.166 MB / 0.5759 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.02848, allocations: 4 kB / 0.5759 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.939e-05/0.02855, allocations: 31.98 kB / 0.5759 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.02856, allocations: 23.94 kB / 0.5759 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.02986, allocations: 0.9459 MB / 0.5769 GB, free: 6.699 MB / 0.4948 GB 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.004543/0.0344, allocations: 2.644 MB / 0.5795 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003826/0.03823, allocations: 1.931 MB / 0.5813 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008204/0.03905, allocations: 0.6009 MB / 0.5819 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-05/0.03913, allocations: 8.656 kB / 0.5819 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.03915, allocations: 47.16 kB / 0.582 GB, free: 1.367 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=92): time 2.455e-06/0.03916, allocations: 0 / 0.582 GB, free: 1.367 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92): time 0.01455/0.05371, allocations: 6.693 MB / 0.5885 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.627e-05/0.05381, allocations: 101.7 kB / 0.5886 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.05506, allocations: 0.9405 MB / 0.5895 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.05519, allocations: 41.7 kB / 0.5896 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.05543, allocations: 465.3 kB / 0.59 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.05569, allocations: 321.3 kB / 0.5903 GB, free: 8.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.05597, allocations: 238.8 kB / 0.5906 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.584e-05/0.05606, allocations: 357.9 kB / 0.5909 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000899/0.05696, allocations: 0.6826 MB / 0.5916 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009669/0.05793, allocations: 0.8562 MB / 0.5924 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01176/0.06969, allocations: 5.188 MB / 0.5975 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.0697, allocations: 0 / 0.5975 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.2084/0.2781, allocations: 4.048 MB / 0.6014 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.2782, allocations: 6.312 kB / 0.6014 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.2782, allocations: 3.125 kB / 0.6014 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002888/0.2811, allocations: 1.519 MB / 0.6029 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/0.2818, allocations: 233.6 kB / 0.6031 GB, free: 92.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.2928, allocations: 7.951 MB / 0.6109 GB, free: 88.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.2938, allocations: 165 kB / 0.6111 GB, free: 88.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-05/0.2939, allocations: 55 kB / 0.6111 GB, free: 88.94 MB / 0.5105 GB 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.0004555/0.2943, allocations: 256.1 kB / 0.6113 GB, free: 88.74 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006033/0.2949, allocations: 341.9 kB / 0.6117 GB, free: 88.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006875/0.3018, allocations: 3.56 MB / 0.6152 GB, free: 87.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.3018, allocations: 10.28 kB / 0.6152 GB, free: 87.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.3018, allocations: 6.875 kB / 0.6152 GB, free: 87.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.3019, allocations: 4.828 kB / 0.6152 GB, free: 87.84 MB / 0.5105 GB 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.008473/0.3103, allocations: 4.574 MB / 0.6196 GB, free: 86.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.3103, allocations: 5.344 kB / 0.6196 GB, free: 86.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/0.3107, allocations: 107.1 kB / 0.6197 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003407/0.3141, allocations: 1.574 MB / 0.6213 GB, free: 86.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-05/0.3142, allocations: 19.84 kB / 0.6213 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/0.3265, allocations: 10.33 MB / 0.6314 GB, free: 79.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3265, allocations: 0 / 0.6314 GB, free: 79.81 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007579/0.3341, allocations: 4.587 MB / 0.6359 GB, free: 78.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/0.3344, allocations: 139.2 kB / 0.636 GB, free: 78.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.697e-05/0.3345, allocations: 17.34 kB / 0.636 GB, free: 78.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.335, allocations: 91.86 kB / 0.6361 GB, free: 78.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003581/0.3354, allocations: 184 kB / 0.6363 GB, free: 78.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.3354, allocations: 22.12 kB / 0.6363 GB, free: 78.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005522/0.336, allocations: 0.6291 MB / 0.6369 GB, free: 77.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.336, allocations: 0 / 0.6369 GB, free: 77.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001039/0.337, allocations: 433.9 kB / 0.6373 GB, free: 77.59 MB / 0.5105 GB 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.0002389/0.3372, allocations: 139.2 kB / 0.6375 GB, free: 77.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003192/0.3404, allocations: 2.135 MB / 0.6395 GB, free: 76.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3404, allocations: 0 / 0.6395 GB, free: 76.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.3422, allocations: 1.253 MB / 0.6408 GB, free: 75.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007378/0.343, allocations: 348.6 kB / 0.6411 GB, free: 75.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.3452, allocations: 2.017 MB / 0.6431 GB, free: 74.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.3454, allocations: 494.3 kB / 0.6435 GB, free: 73.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.3456, allocations: 79.16 kB / 0.6436 GB, free: 73.96 MB / 0.5105 GB Notification: Performance of SimCode: time 8.62e-07/0.3456, allocations: 0 / 0.6436 GB, free: 73.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.01394/0.3596, allocations: 21.9 MB / 0.665 GB, free: 52.64 MB / 0.5105 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: 5.9650238789618015] Failed to read output from testmodel.py, exit status != 0: 0.3658305201679468 0.370787259 0.351869334 Calling exit ...