Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.001669/0.001669, allocations: 116.8 kB / 17.17 MB, free: 6 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.436/1.436, allocations: 230.6 MB / 250.5 MB, free: 9.211 MB / 206.1 MB " [Timeout remaining time 178] 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.001617/0.001617, allocations: 217.6 kB / 306.7 MB, free: 4.289 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.45/0.45, allocations: 79.7 MB / 442.5 MB, free: 148 kB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002579/0.002579, allocations: 91.86 kB / 0.5885 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1575, allocations: 73.25 MB / 0.66 GB, free: 8.195 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.007726/0.1652, allocations: 5.826 MB / 0.6657 GB, free: 2.328 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00406/0.1693, allocations: 1.786 MB / 0.6675 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009187/0.1702, allocations: 15.94 kB / 0.6675 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007443/0.171, allocations: 210.2 kB / 0.6677 GB, free: 320 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00247/0.1734, allocations: 0.7485 MB / 0.6684 GB, free: 15.56 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.175, allocations: 0.5608 MB / 0.669 GB, free: 15.01 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002322/0.1773, allocations: 1.261 MB / 0.6702 GB, free: 13.74 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005676/0.1779, allocations: 183.2 kB / 0.6704 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.179, allocations: 0.5484 MB / 0.6709 GB, free: 13 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.1802, allocations: 0.6456 MB / 0.6715 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.1804, allocations: 88 kB / 0.6716 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000573/0.1809, allocations: 243.8 kB / 0.6719 GB, free: 12.03 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.1812, allocations: 234.9 kB / 0.6721 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005336/0.1817, allocations: 0.5476 MB / 0.6726 GB, free: 11.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.1836, allocations: 1.377 MB / 0.674 GB, free: 9.867 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1836, allocations: 4 kB / 0.674 GB, free: 9.863 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1836, allocations: 4 kB / 0.674 GB, free: 9.859 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.1836, allocations: 0 / 0.674 GB, free: 9.859 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.008483/0.1921, allocations: 2.402 MB / 0.6763 GB, free: 7.402 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.1921, allocations: 12.03 kB / 0.6763 GB, free: 7.391 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.033e-05/0.1922, allocations: 13.31 kB / 0.6763 GB, free: 7.375 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.1923, allocations: 114.5 kB / 0.6765 GB, free: 7.254 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005092/0.1974, allocations: 0.7641 MB / 0.6772 GB, free: 6.488 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.1989, allocations: 0.7213 MB / 0.6779 GB, free: 5.723 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003468/0.1992, allocations: 244.2 kB / 0.6781 GB, free: 5.449 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.1994, allocations: 79.95 kB / 0.6782 GB, free: 5.371 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.2015, allocations: 0.9598 MB / 0.6791 GB, free: 4.402 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.2016, allocations: 7.938 kB / 0.6792 GB, free: 4.395 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.73e-05/0.2017, allocations: 28 kB / 0.6792 GB, free: 4.367 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.2017, allocations: 19.94 kB / 0.6792 GB, free: 4.348 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.2039, allocations: 0.9721 MB / 0.6802 GB, free: 3.375 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 preOpt removeSimpleEquations (simulation): time 0.005735/0.2096, allocations: 3.167 MB / 0.6832 GB, free: 60 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.2118, allocations: 1.238 MB / 0.6845 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/0.2133, allocations: 0.6289 MB / 0.6851 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.2134, allocations: 16.97 kB / 0.6851 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.2134, allocations: 47.56 kB / 0.6851 GB, free: 14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=83): time 2.605e-06/0.2134, allocations: 0 / 0.6851 GB, free: 14 MB / 494.1 MB Notification: Performance of matching and sorting (n=83): time 0.02679/0.2402, allocations: 6.446 MB / 0.6914 GB, free: 7.516 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.2403, allocations: 68.33 kB / 0.6915 GB, free: 7.438 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.2414, allocations: 0.7868 MB / 0.6923 GB, free: 6.641 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.2415, allocations: 37.7 kB / 0.6923 GB, free: 6.598 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/0.2419, allocations: 441.1 kB / 0.6927 GB, free: 6.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003444/0.2422, allocations: 309.3 kB / 0.693 GB, free: 5.855 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000398/0.2426, allocations: 194.8 kB / 0.6932 GB, free: 5.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.2428, allocations: 349.9 kB / 0.6935 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.2444, allocations: 0.6624 MB / 0.6942 GB, free: 4.648 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/0.2462, allocations: 0.7757 MB / 0.6949 GB, free: 3.844 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3107/0.5569, allocations: 4.629 MB / 0.6995 GB, free: 34.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.557, allocations: 2.312 kB / 0.6995 GB, free: 34.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01422/0.5712, allocations: 4.044 MB / 0.7034 GB, free: 34.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.5712, allocations: 5.594 kB / 0.7034 GB, free: 34.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.5712, allocations: 3.047 kB / 0.7034 GB, free: 34.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006629/0.5778, allocations: 1.732 MB / 0.7051 GB, free: 34.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.5789, allocations: 191.6 kB / 0.7053 GB, free: 34.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02238/0.6012, allocations: 9.066 MB / 0.7141 GB, free: 30.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.6026, allocations: 158.4 kB / 0.7143 GB, free: 30.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.511e-05/0.6027, allocations: 41.59 kB / 0.7143 GB, free: 30.44 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.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: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004066/0.6031, allocations: 222.2 kB / 0.7145 GB, free: 30.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.6033, allocations: 108.5 kB / 0.7146 GB, free: 30.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.616, allocations: 3.788 MB / 0.7183 GB, free: 29.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.616, allocations: 9.156 kB / 0.7184 GB, free: 29.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.616, allocations: 0 / 0.7184 GB, free: 29.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.6161, allocations: 7.266 kB / 0.7184 GB, free: 29.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/0.6302, allocations: 5.343 MB / 0.7236 GB, free: 27.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.6302, allocations: 0 / 0.7236 GB, free: 27.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005415/0.6308, allocations: 88.92 kB / 0.7237 GB, free: 27.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005794/0.6366, allocations: 1.741 MB / 0.7254 GB, free: 26.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/0.6367, allocations: 16.84 kB / 0.7254 GB, free: 26.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01684/0.6535, allocations: 8.064 MB / 0.7333 GB, free: 21.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6535, allocations: 4 kB / 0.7333 GB, free: 21.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/0.6669, allocations: 4.71 MB / 0.7379 GB, free: 18.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/0.6672, allocations: 191.5 kB / 0.738 GB, free: 18.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.6674, allocations: 19.98 kB / 0.7381 GB, free: 18.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009084/0.6683, allocations: 91.84 kB / 0.7381 GB, free: 18.49 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005834/0.6688, allocations: 204.7 kB / 0.7383 GB, free: 18.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/0.6689, allocations: 16 kB / 0.7384 GB, free: 18.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005353/0.6694, allocations: 0.5378 MB / 0.7389 GB, free: 17.74 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6694, allocations: 3.938 kB / 0.7389 GB, free: 17.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00116/0.6706, allocations: 414.8 kB / 0.7393 GB, free: 17.34 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01358/0.6842, allocations: 5.289 MB / 0.7444 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005902/0.6901, allocations: 2.203 MB / 0.7466 GB, free: 9.801 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.6901, allocations: 3.938 kB / 0.7466 GB, free: 9.797 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004155/0.6942, allocations: 1.44 MB / 0.748 GB, free: 8.352 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006927/0.6949, allocations: 75.34 kB / 0.7481 GB, free: 8.277 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03461/0.7295, allocations: 14.14 MB / 0.7619 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007372/0.7303, allocations: 1.037 MB / 0.7629 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003578/0.7306, allocations: 74.31 kB / 0.763 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005456/0.7312, allocations: 377.2 kB / 0.7633 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of SimCode: time 9.21e-07/0.7312, allocations: 0 / 0.7633 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06578/0.797, allocations: 31.3 MB / 0.7939 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.98/16.78, allocations: 19.58 kB / 0.7939 GB, free: 9.297 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.429445191984996] Failed to read output from testmodel.py, exit status != 0: 16.941505285038147 16.970561675 16.78163481 Calling exit ...