Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0007685/0.0007685, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.8497/0.8497, allocations: 177.2 MB / 200.2 MB, free: 5.941 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.000956/0.000956, allocations: 163.8 kB / 256.7 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2519/0.2519, allocations: 80.25 MB / 393.4 MB, free: 2.453 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.556 GB, free: 12.14 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.902e-05, allocations: 2.281 kB / 0.556 GB, free: 12.13 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.004282/0.004301, allocations: 5.518 MB / 0.5614 GB, free: 6.594 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.006487, allocations: 1.822 MB / 0.5632 GB, free: 4.766 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002899/0.006777, allocations: 8 kB / 0.5632 GB, free: 4.758 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.007102, allocations: 214.1 kB / 0.5634 GB, free: 4.547 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.008179, allocations: 0.8137 MB / 0.5642 GB, free: 3.734 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000665/0.008844, allocations: 0.5701 MB / 0.5648 GB, free: 3.168 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008556/0.0097, allocations: 1.42 MB / 0.5662 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.009934, allocations: 196.3 kB / 0.5663 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007261/0.01066, allocations: 0.8142 MB / 0.5671 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004628/0.01112, allocations: 0.6114 MB / 0.5677 GB, free: 112 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.457e-05/0.01122, allocations: 104 kB / 0.5678 GB, free: 8 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.0115, allocations: 255.8 kB / 0.5681 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.01165, allocations: 294.6 kB / 0.5684 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.01188, allocations: 418.5 kB / 0.5688 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.01292, allocations: 1.542 MB / 0.5703 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.01292, allocations: 0 / 0.5703 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01292, allocations: 4 kB / 0.5703 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.01293, allocations: 0 / 0.5703 GB, free: 13.51 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.004055/0.01699, allocations: 2.463 MB / 0.5727 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.01702, allocations: 8.031 kB / 0.5727 GB, free: 11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00235/0.01937, allocations: 0.7718 MB / 0.5734 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009496/0.02032, allocations: 0.7373 MB / 0.5742 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.02052, allocations: 363 kB / 0.5745 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.02062, allocations: 75.94 kB / 0.5746 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.02205, allocations: 1.174 MB / 0.5757 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.02206, allocations: 4 kB / 0.5757 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.373e-05/0.02213, allocations: 28 kB / 0.5758 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.02214, allocations: 19.94 kB / 0.5758 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.02333, allocations: 0.9459 MB / 0.5767 GB, free: 6.758 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.003215/0.02655, allocations: 2.644 MB / 0.5793 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003649/0.0302, allocations: 1.927 MB / 0.5812 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007643/0.03096, allocations: 0.597 MB / 0.5817 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.45e-05/0.03104, allocations: 24.52 kB / 0.5818 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.03106, allocations: 47.16 kB / 0.5818 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=92): time 1.863e-06/0.03106, allocations: 0 / 0.5818 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92): time 0.01361/0.04467, allocations: 6.681 MB / 0.5883 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.04473, allocations: 101.6 kB / 0.5884 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007689/0.0455, allocations: 0.9405 MB / 0.5894 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.199e-05/0.04557, allocations: 45.7 kB / 0.5894 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.04579, allocations: 461.3 kB / 0.5898 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.04598, allocations: 325.2 kB / 0.5901 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/0.04623, allocations: 238.8 kB / 0.5904 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.039e-05/0.04632, allocations: 357.9 kB / 0.5907 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000831/0.04715, allocations: 0.6865 MB / 0.5914 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009091/0.04806, allocations: 0.8562 MB / 0.5922 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/0.05887, allocations: 5.192 MB / 0.5973 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.05887, allocations: 0 / 0.5973 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.1896/0.2485, allocations: 4.048 MB / 0.6012 GB, free: 92.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.2485, allocations: 8.438 kB / 0.6013 GB, free: 92.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.2485, allocations: 2.906 kB / 0.6013 GB, free: 92.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002664/0.2512, allocations: 1.515 MB / 0.6027 GB, free: 92.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.2518, allocations: 232.4 kB / 0.603 GB, free: 92.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/0.2619, allocations: 7.947 MB / 0.6107 GB, free: 89.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008187/0.2627, allocations: 170.3 kB / 0.6109 GB, free: 89.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/0.2628, allocations: 50.75 kB / 0.6109 GB, free: 89.49 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.0003669/0.2632, allocations: 261.3 kB / 0.6112 GB, free: 89.28 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005198/0.2637, allocations: 341.5 kB / 0.6115 GB, free: 89.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006402/0.2701, allocations: 3.557 MB / 0.615 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.2701, allocations: 9.625 kB / 0.615 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.2701, allocations: 10.7 kB / 0.615 GB, free: 88.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.2701, allocations: 4.969 kB / 0.615 GB, free: 88.39 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.007893/0.278, allocations: 4.564 MB / 0.6195 GB, free: 87.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.278, allocations: 5.938 kB / 0.6195 GB, free: 87.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.2783, allocations: 111.2 kB / 0.6196 GB, free: 87.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003023/0.2813, allocations: 1.57 MB / 0.6211 GB, free: 86.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-05/0.2814, allocations: 20.67 kB / 0.6211 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/0.2917, allocations: 10.33 MB / 0.6312 GB, free: 80.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2917, allocations: 0 / 0.6312 GB, free: 80.35 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007342/0.299, allocations: 4.59 MB / 0.6357 GB, free: 78.83 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.2992, allocations: 135.1 kB / 0.6358 GB, free: 78.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.335e-05/0.2993, allocations: 18.81 kB / 0.6358 GB, free: 78.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/0.2997, allocations: 86.38 kB / 0.6359 GB, free: 78.69 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/0.3, allocations: 183.9 kB / 0.6361 GB, free: 78.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.3, allocations: 28.75 kB / 0.6361 GB, free: 78.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004797/0.3005, allocations: 0.6204 MB / 0.6367 GB, free: 78.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3005, allocations: 0 / 0.6367 GB, free: 78.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009229/0.3014, allocations: 443.7 kB / 0.6372 GB, free: 78.14 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.0002054/0.3017, allocations: 135.8 kB / 0.6373 GB, free: 78.03 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00288/0.3045, allocations: 2.134 MB / 0.6394 GB, free: 76.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3045, allocations: 3.938 kB / 0.6394 GB, free: 76.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00171/0.3062, allocations: 1.255 MB / 0.6406 GB, free: 76.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006772/0.3069, allocations: 346 kB / 0.6409 GB, free: 76.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.3089, allocations: 2.01 MB / 0.6429 GB, free: 74.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.3091, allocations: 493.6 kB / 0.6434 GB, free: 74.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.3092, allocations: 83.44 kB / 0.6434 GB, free: 74.49 MB / 0.5105 GB Notification: Performance of SimCode: time 4.01e-07/0.3092, allocations: 0 / 0.6434 GB, free: 74.49 MB / 0.5105 GB Notification: Performance of Templates: time 0.01136/0.3206, allocations: 21.9 MB / 0.6648 GB, free: 53.06 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.535313721746206] Failed to read output from testmodel.py, exit status != 0: 0.32561010494828224 0.331298912 0.317108084 Calling exit ...