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.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.0007365/0.0007365, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.8367/0.8367, allocations: 177.2 MB / 199.4 MB, free: 5.949 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.0009686/0.0009686, allocations: 156.6 kB / 256 MB, free: 13.36 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.2605/0.2605, allocations: 80.36 MB / 392.7 MB, free: 2.387 MB / 314.7 MB " [Timeout remaining time 180] 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: "" <> 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 1.182e-06/1.182e-06, allocations: 0 / 0.555 GB, free: 12.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.206e-06/9.388e-06, allocations: 2.281 kB / 0.555 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.004254/0.004263, allocations: 5.824 MB / 0.5607 GB, free: 6.734 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.006799, allocations: 1.935 MB / 0.5625 GB, free: 4.793 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/0.007138, allocations: 12 kB / 0.5626 GB, free: 4.781 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.007626, allocations: 237.8 kB / 0.5628 GB, free: 4.547 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.008795, allocations: 0.8572 MB / 0.5636 GB, free: 3.688 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007726/0.009568, allocations: 0.6497 MB / 0.5643 GB, free: 3.043 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.01059, allocations: 1.592 MB / 0.5658 GB, free: 1.445 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003833/0.01097, allocations: 214.8 kB / 0.566 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007609/0.01174, allocations: 0.8999 MB / 0.5669 GB, free: 328 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005053/0.01224, allocations: 0.6659 MB / 0.5675 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.01235, allocations: 120 kB / 0.5677 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.01265, allocations: 279.7 kB / 0.5679 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.01284, allocations: 330.6 kB / 0.5682 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.01312, allocations: 466.4 kB / 0.5687 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.01417, allocations: 1.721 MB / 0.5704 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.01417, allocations: 3.938 kB / 0.5704 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.81e-07/0.01417, allocations: 0 / 0.5704 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.01418, allocations: 0 / 0.5704 GB, free: 12.75 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004564/0.01875, allocations: 2.8 MB / 0.5731 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.01878, allocations: 12.03 kB / 0.5731 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.01889, allocations: 122.7 kB / 0.5732 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002461/0.02136, allocations: 0.7991 MB / 0.574 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009072/0.02226, allocations: 0.8306 MB / 0.5748 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.02245, allocations: 341.3 kB / 0.5752 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.02256, allocations: 84 kB / 0.5752 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.02383, allocations: 1.112 MB / 0.5763 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.02384, allocations: 0 / 0.5763 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/0.0239, allocations: 35.94 kB / 0.5764 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.02391, allocations: 20 kB / 0.5764 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.02516, allocations: 1.009 MB / 0.5774 GB, free: 5.406 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.003904/0.02907, allocations: 2.972 MB / 0.5803 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/0.03281, allocations: 2.019 MB / 0.5822 GB, free: 332 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000808/0.03362, allocations: 0.6427 MB / 0.5829 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.178e-05/0.03369, allocations: 13 kB / 0.5829 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000979/0.03467, allocations: 0.839 MB / 0.5837 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=96): time 1.883e-06/0.03467, allocations: 0 / 0.5837 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96): time 0.01472/0.04939, allocations: 6.962 MB / 0.5905 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.04943, allocations: 115.8 kB / 0.5906 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009067/0.05033, allocations: 1.087 MB / 0.5917 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.951e-05/0.0504, allocations: 49.73 kB / 0.5917 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.05065, allocations: 497.5 kB / 0.5922 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.05087, allocations: 376.8 kB / 0.5925 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.05118, allocations: 287.5 kB / 0.5928 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.05124, allocations: 305.1 kB / 0.5931 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.05248, allocations: 0.8193 MB / 0.5939 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.05357, allocations: 0.9922 MB / 0.5949 GB, free: 3.172 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1842/0.2377, allocations: 5.785 MB / 0.6005 GB, free: 91.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.2377, allocations: 0 / 0.6005 GB, free: 91.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.006854/0.2446, allocations: 4.375 MB / 0.6048 GB, free: 90.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/0.2446, allocations: 62.03 kB / 0.6049 GB, free: 90.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.2446, allocations: 3.875 kB / 0.6049 GB, free: 90.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002679/0.2473, allocations: 1.498 MB / 0.6063 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007263/0.248, allocations: 298.4 kB / 0.6066 GB, free: 90.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/0.2595, allocations: 7.997 MB / 0.6144 GB, free: 86.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008867/0.2604, allocations: 207.1 kB / 0.6146 GB, free: 86.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-05/0.2605, allocations: 56.88 kB / 0.6147 GB, free: 86.71 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: 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.0004167/0.2609, allocations: 298.6 kB / 0.615 GB, free: 86.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.261, allocations: 131.3 kB / 0.6151 GB, free: 86.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007237/0.2683, allocations: 3.873 MB / 0.6189 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.2683, allocations: 10.33 kB / 0.6189 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.2683, allocations: 11.72 kB / 0.6189 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.2683, allocations: 4.781 kB / 0.6189 GB, free: 85.46 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.008817/0.2771, allocations: 4.994 MB / 0.6238 GB, free: 83.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.2771, allocations: 0 / 0.6238 GB, free: 83.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.2776, allocations: 101.9 kB / 0.6239 GB, free: 83.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003159/0.2807, allocations: 1.587 MB / 0.6254 GB, free: 83.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.2808, allocations: 22.41 kB / 0.6254 GB, free: 83.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/0.2925, allocations: 9.239 MB / 0.6345 GB, free: 78.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2925, allocations: 7.688 kB / 0.6345 GB, free: 78.44 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007789/0.3003, allocations: 4.762 MB / 0.6391 GB, free: 76.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.3006, allocations: 154.8 kB / 0.6393 GB, free: 76.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.3007, allocations: 25.03 kB / 0.6393 GB, free: 76.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005734/0.3013, allocations: 105.2 kB / 0.6394 GB, free: 76.24 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003923/0.3017, allocations: 207.6 kB / 0.6396 GB, free: 76.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.3017, allocations: 30.94 kB / 0.6396 GB, free: 76.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006549/0.3024, allocations: 0.7272 MB / 0.6403 GB, free: 75.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3024, allocations: 0 / 0.6403 GB, free: 75.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001061/0.3035, allocations: 479.9 kB / 0.6408 GB, free: 75.62 MB / 0.5105 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.007519/0.311, allocations: 5.359 MB / 0.646 GB, free: 71.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003525/0.3145, allocations: 2.432 MB / 0.6484 GB, free: 68.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3145, allocations: 3.75 kB / 0.6484 GB, free: 68.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002179/0.3167, allocations: 1.553 MB / 0.6499 GB, free: 66.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007638/0.3174, allocations: 113.5 kB / 0.65 GB, free: 66.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02074/0.3382, allocations: 16.09 MB / 0.6657 GB, free: 50.51 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.3385, allocations: 0.5277 MB / 0.6662 GB, free: 49.94 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004032/0.3389, allocations: 115.2 kB / 0.6664 GB, free: 49.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/0.3393, allocations: 476.3 kB / 0.6668 GB, free: 49.36 MB / 0.5105 GB Notification: Performance of SimCode: time 1.463e-06/0.3393, allocations: 2.297 kB / 0.6668 GB, free: 49.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04533/0.3846, allocations: 37.73 MB / 0.7037 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.635/9.02, allocations: 3.625 kB / 0.7037 GB, free: 11.96 MB / 0.5105 GB " [Timeout remaining time 651] (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: 11.180228250101209] Failed to read output from testmodel.py, exit status != 0: 9.128401218913496 9.134981687 9.119204457 Calling exit ...