Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002115/0.002115, allocations: 104 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 244.8 MB, free: 14.16 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 198.4 kB / 299.8 MB, free: 9.816 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5919/0.5919, allocations: 99.65 MB / 454.4 MB, free: 5.082 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 83.88 kB / 0.6073 GB, free: 9.496 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1734, allocations: 76.94 MB / 0.6825 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.008516/0.1819, allocations: 6.618 MB / 0.6889 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004878/0.1868, allocations: 1.978 MB / 0.6909 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.1878, allocations: 8 kB / 0.6909 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009036/0.1887, allocations: 245.9 kB / 0.6911 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002806/0.1915, allocations: 0.8474 MB / 0.6919 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.1931, allocations: 0.634 MB / 0.6926 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002531/0.1957, allocations: 1.585 MB / 0.6941 GB, free: 452 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005429/0.1962, allocations: 230.4 kB / 0.6943 GB, free: 208 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3654/0.5616, allocations: 0.647 MB / 0.695 GB, free: 8.867 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.5629, allocations: 0.8387 MB / 0.6958 GB, free: 8.773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002718/0.5632, allocations: 121.3 kB / 0.6959 GB, free: 8.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006446/0.5638, allocations: 263 kB / 0.6962 GB, free: 8.773 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000293/0.5641, allocations: 331.9 kB / 0.6965 GB, free: 8.719 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005756/0.5647, allocations: 0.6718 MB / 0.6971 GB, free: 8.504 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.5666, allocations: 1.668 MB / 0.6988 GB, free: 8.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.5666, allocations: 1.312 kB / 0.6988 GB, free: 8.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5666, allocations: 0 / 0.6988 GB, free: 8.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.5666, allocations: 0 / 0.6988 GB, free: 8.23 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.009414/0.576, allocations: 2.723 MB / 0.7014 GB, free: 7.234 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.576, allocations: 12.5 kB / 0.7014 GB, free: 7.234 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001653/0.5762, allocations: 123.1 kB / 0.7015 GB, free: 7.195 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005196/0.5814, allocations: 0.7824 MB / 0.7023 GB, free: 7.102 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.5834, allocations: 0.9046 MB / 0.7032 GB, free: 6.711 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/0.5837, allocations: 263.9 kB / 0.7034 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.5839, allocations: 80.31 kB / 0.7035 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.5861, allocations: 1.082 MB / 0.7046 GB, free: 6.438 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.5861, allocations: 5.062 kB / 0.7046 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.5862, allocations: 30.17 kB / 0.7046 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.5862, allocations: 18.69 kB / 0.7046 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.5881, allocations: 0.9887 MB / 0.7056 GB, free: 6.422 MB / 494.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.007176/0.5953, allocations: 3.832 MB / 0.7093 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007778/0.6031, allocations: 2.292 MB / 0.7116 GB, free: 3.715 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.6049, allocations: 0.6186 MB / 0.7122 GB, free: 3.484 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.605, allocations: 19.53 kB / 0.7122 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001893/0.6069, allocations: 0.8143 MB / 0.713 GB, free: 3.168 MB / 494.1 MB Notification: Performance of pre-optimization done (n=96): time 3.647e-06/0.6069, allocations: 0 / 0.713 GB, free: 3.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.02922/0.6361, allocations: 7.071 MB / 0.7199 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.6362, allocations: 113.6 kB / 0.72 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/0.6384, allocations: 1.082 MB / 0.7211 GB, free: 260 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003452/0.6387, allocations: 45.3 kB / 0.7211 GB, free: 212 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007439/0.6395, allocations: 0.5084 MB / 0.7216 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000677/0.6402, allocations: 374.4 kB / 0.722 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001088/0.6412, allocations: 292.4 kB / 0.7222 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.6414, allocations: 306.5 kB / 0.7225 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.6434, allocations: 0.7593 MB / 0.7233 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.6455, allocations: 0.9295 MB / 0.7242 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02512/0.6706, allocations: 5.582 MB / 0.7296 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.6706, allocations: 1.062 kB / 0.7296 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01577/0.6864, allocations: 4.316 MB / 0.7338 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.6865, allocations: 62.48 kB / 0.7339 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.6865, allocations: 2.781 kB / 0.7339 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005655/0.6922, allocations: 1.516 MB / 0.7354 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.6938, allocations: 299.9 kB / 0.7357 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02098/0.7148, allocations: 8.277 MB / 0.7438 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/0.7172, allocations: 203 kB / 0.744 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003951/0.7176, allocations: 59.97 kB / 0.744 GB, free: 1.402 MB / 0.4981 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: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 2 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001179/0.7187, allocations: 303.8 kB / 0.7443 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005568/0.7193, allocations: 131.1 kB / 0.7444 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/0.7328, allocations: 3.84 MB / 0.7482 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.481e-05/0.7328, allocations: 12 kB / 0.7482 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.349e-05/0.7329, allocations: 8 kB / 0.7482 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.573e-05/0.7329, allocations: 7.969 kB / 0.7482 GB, free: 13.12 MB / 0.5137 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.01732/0.7502, allocations: 5.434 MB / 0.7535 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/0.7502, allocations: 0 / 0.7535 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007492/0.751, allocations: 103.8 kB / 0.7536 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005891/0.7569, allocations: 1.594 MB / 0.7552 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002845/0.7572, allocations: 23.94 kB / 0.7552 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02335/0.7805, allocations: 9.631 MB / 0.7646 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7805, allocations: 0 / 0.7646 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01596/0.7965, allocations: 4.715 MB / 0.7692 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006708/0.7971, allocations: 228.6 kB / 0.7694 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005252/0.7977, allocations: 27.98 kB / 0.7694 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/0.7992, allocations: 107.9 kB / 0.7695 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007673/0.8, allocations: 199.4 kB / 0.7697 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/0.8001, allocations: 28 kB / 0.7698 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001569/0.8017, allocations: 0.7274 MB / 0.7705 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.8017, allocations: 0 / 0.7705 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002198/0.8039, allocations: 471.7 kB / 0.7709 GB, free: 5.516 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01622/0.8201, allocations: 5.298 MB / 0.7761 GB, free: 216 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007337/0.8275, allocations: 2.357 MB / 0.7784 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.8275, allocations: 0.75 kB / 0.7784 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004927/0.8324, allocations: 1.527 MB / 0.7799 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.8343, allocations: 125.2 kB / 0.78 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04599/0.8803, allocations: 16 MB / 0.7956 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/0.8816, allocations: 1.116 MB / 0.7967 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008362/0.8824, allocations: 122.3 kB / 0.7968 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009736/0.8834, allocations: 471.3 kB / 0.7973 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/0.8834, allocations: 0 / 0.7973 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09332/0.9767, allocations: 34.56 MB / 0.831 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/16.52, allocations: 9.578 kB / 0.831 GB, free: 8.07 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.182959851343185] Failed to read output from testmodel.py, exit status != 0: 16.643246119841933 16.670983905 16.099365139 Calling exit ...