Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08457/0.08457, allocations: 12.36 MB / 31.22 MB, free: 6.41 MB / 26.18 MB " [Timeout remaining time 180] 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.001275/0.001275, allocations: 105 kB / 37.24 MB, free: 1.102 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 207.7 MB / 250.9 MB, free: 7.262 MB / 190.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.001849/0.001849, allocations: 208.4 kB / 306.1 MB, free: 288 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3419/0.3419, allocations: 79.73 MB / 441 MB, free: 12.27 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.004219/0.004219, allocations: 155.8 kB / 0.5875 GB, free: 7.465 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.387, allocations: 71.95 MB / 0.6578 GB, free: 2.492 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005888/0.3929, allocations: 5.152 MB / 0.6628 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003783/0.3966, allocations: 1.645 MB / 0.6644 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006137/0.3973, allocations: 12.41 kB / 0.6644 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000538/0.3978, allocations: 195 kB / 0.6646 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.3998, allocations: 0.7333 MB / 0.6653 GB, free: 13.25 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001418/0.4012, allocations: 0.5565 MB / 0.6659 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00172/0.4029, allocations: 1.257 MB / 0.6671 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003718/0.4033, allocations: 177.9 kB / 0.6673 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007987/0.4041, allocations: 0.5429 MB / 0.6678 GB, free: 11.97 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008815/0.405, allocations: 0.5873 MB / 0.6684 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.4051, allocations: 87.06 kB / 0.6684 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005795/0.4057, allocations: 219.8 kB / 0.6687 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002787/0.406, allocations: 246.6 kB / 0.6689 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005312/0.4065, allocations: 451.5 kB / 0.6693 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.4085, allocations: 1.373 MB / 0.6707 GB, free: 10.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4085, allocations: 0.6094 kB / 0.6707 GB, free: 10.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4085, allocations: 1.219 kB / 0.6707 GB, free: 10.62 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.389e-05/0.4085, allocations: 4 kB / 0.6707 GB, free: 10.62 MB / 462.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.007809/0.4163, allocations: 2.309 MB / 0.6729 GB, free: 9.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4163, allocations: 9.25 kB / 0.6729 GB, free: 9.25 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000161/0.4165, allocations: 113.5 kB / 0.673 GB, free: 9.152 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005012/0.4215, allocations: 0.7688 MB / 0.6738 GB, free: 8.832 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.423, allocations: 0.6641 MB / 0.6744 GB, free: 8.277 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003484/0.4234, allocations: 302.7 kB / 0.6747 GB, free: 7.988 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.4235, allocations: 69.31 kB / 0.6748 GB, free: 7.965 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.4257, allocations: 0.9641 MB / 0.6757 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.4257, allocations: 0 / 0.6757 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-05/0.4258, allocations: 25.44 kB / 0.6758 GB, free: 7.398 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.4258, allocations: 15 kB / 0.6758 GB, free: 7.398 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.428, allocations: 0.9736 MB / 0.6767 GB, free: 6.934 MB / 462.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.005792/0.4338, allocations: 2.36 MB / 0.679 GB, free: 5.305 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.4358, allocations: 0.7715 MB / 0.6798 GB, free: 4.914 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.4373, allocations: 0.6319 MB / 0.6804 GB, free: 4.598 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.541e-05/0.4374, allocations: 14.73 kB / 0.6804 GB, free: 4.594 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/0.4374, allocations: 47.41 kB / 0.6805 GB, free: 4.543 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 3.586e-06/0.4374, allocations: 4 kB / 0.6805 GB, free: 4.539 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.02599/0.4634, allocations: 6.356 MB / 0.6867 GB, free: 1.441 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.4635, allocations: 68.38 kB / 0.6867 GB, free: 1.371 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.4647, allocations: 0.7988 MB / 0.6875 GB, free: 0.918 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001599/0.4649, allocations: 40.89 kB / 0.6876 GB, free: 0.875 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.4652, allocations: 441.9 kB / 0.688 GB, free: 496 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/0.4656, allocations: 312 kB / 0.6883 GB, free: 220 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/0.466, allocations: 186.7 kB / 0.6885 GB, free: 100 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4662, allocations: 346.8 kB / 0.6888 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.4677, allocations: 0.6569 MB / 0.6894 GB, free: 15.44 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.4693, allocations: 0.7869 MB / 0.6902 GB, free: 14.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0186/0.4879, allocations: 4.524 MB / 0.6946 GB, free: 12.37 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.4879, allocations: 4 kB / 0.6946 GB, free: 12.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01463/0.5025, allocations: 4.044 MB / 0.6986 GB, free: 8.309 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.5026, allocations: 4 kB / 0.6986 GB, free: 8.305 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.5026, allocations: 4 kB / 0.6986 GB, free: 8.301 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006447/0.509, allocations: 1.734 MB / 0.7003 GB, free: 6.562 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.5101, allocations: 187.7 kB / 0.7004 GB, free: 6.379 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02377/0.5339, allocations: 8.755 MB / 0.709 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.5354, allocations: 155.2 kB / 0.7091 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.5355, allocations: 39.98 kB / 0.7092 GB, free: 13.3 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.0005126/0.536, allocations: 240.8 kB / 0.7094 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.5362, allocations: 107.3 kB / 0.7095 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/0.5495, allocations: 3.778 MB / 0.7132 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.5495, allocations: 11.94 kB / 0.7132 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5495, allocations: 0 / 0.7132 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.971e-05/0.5496, allocations: 3.984 kB / 0.7132 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/0.5651, allocations: 4.754 MB / 0.7179 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.5651, allocations: 0 / 0.7179 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005869/0.5657, allocations: 91.89 kB / 0.7179 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00634/0.572, allocations: 1.741 MB / 0.7196 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/0.5722, allocations: 12 kB / 0.7197 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02041/0.5926, allocations: 7.766 MB / 0.7272 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5926, allocations: 0 / 0.7272 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01572/0.6083, allocations: 4.717 MB / 0.7318 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004591/0.6088, allocations: 111.2 kB / 0.732 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/0.609, allocations: 20 kB / 0.732 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.61, allocations: 87.89 kB / 0.7321 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000653/0.6107, allocations: 216.4 kB / 0.7323 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.54e-05/0.6107, allocations: 16 kB / 0.7323 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007974/0.6115, allocations: 0.5303 MB / 0.7328 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6115, allocations: 11.94 kB / 0.7328 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001295/0.6128, allocations: 411.6 kB / 0.7332 GB, free: 4.473 MB / 0.4981 GB 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.01601/0.6288, allocations: 5.284 MB / 0.7384 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006889/0.6357, allocations: 2.199 MB / 0.7405 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6357, allocations: 3.938 kB / 0.7405 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004892/0.6406, allocations: 1.441 MB / 0.7419 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008568/0.6415, allocations: 79.34 kB / 0.742 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04/0.6815, allocations: 14.15 MB / 0.7558 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.682, allocations: 446.6 kB / 0.7562 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004152/0.6824, allocations: 78.3 kB / 0.7563 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005578/0.683, allocations: 375.3 kB / 0.7567 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of SimCode: time 1.653e-06/0.683, allocations: 0 / 0.7567 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08806/0.771, allocations: 32.99 MB / 0.7889 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.64, allocations: 3.984 kB / 0.7889 GB, free: 11.12 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.082620318047702] Failed to read output from testmodel.py, exit status != 0: 14.776284413877875 14.800227185 14.387088922 Calling exit ...