Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.0995/0.0995, allocations: 12.36 MB / 31.99 MB, free: 6.426 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.001313/0.001313, allocations: 105.1 kB / 38.03 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.452/1.452, allocations: 207.7 MB / 251.7 MB, free: 7.516 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.001512/0.001512, allocations: 212.3 kB / 306.9 MB, free: 0.5547 MB / 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.3273/0.3273, allocations: 79.74 MB / 441.7 MB, free: 10.3 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.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="cs",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.003977/0.003977, allocations: 147.8 kB / 0.5883 GB, free: 5.312 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3425, allocations: 71.96 MB / 0.6585 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006545/0.349, allocations: 5.065 MB / 0.6635 GB, free: 8.621 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003663/0.3527, allocations: 1.623 MB / 0.6651 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004541/0.3531, allocations: 11.94 kB / 0.6651 GB, free: 6.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.3537, allocations: 198.3 kB / 0.6653 GB, free: 6.785 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.3554, allocations: 0.7183 MB / 0.666 GB, free: 6.066 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.3566, allocations: 0.5534 MB / 0.6665 GB, free: 5.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.358, allocations: 1.229 MB / 0.6677 GB, free: 4.285 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003907/0.3584, allocations: 179.6 kB / 0.6679 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007778/0.3592, allocations: 0.5328 MB / 0.6684 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008398/0.36, allocations: 0.6455 MB / 0.669 GB, free: 2.914 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.3602, allocations: 88 kB / 0.6691 GB, free: 2.828 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004792/0.3607, allocations: 223.9 kB / 0.6693 GB, free: 2.609 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.3609, allocations: 242.9 kB / 0.6696 GB, free: 2.371 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000457/0.3614, allocations: 449.4 kB / 0.67 GB, free: 1.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.3631, allocations: 1.352 MB / 0.6713 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3631, allocations: 0 / 0.6713 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3631, allocations: 0 / 0.6713 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.3631, allocations: 0 / 0.6713 GB, free: 0.5781 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007832/0.3709, allocations: 2.288 MB / 0.6735 GB, free: 14.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.371, allocations: 8.031 kB / 0.6736 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.128e-05/0.371, allocations: 17.31 kB / 0.6736 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/0.3711, allocations: 118.5 kB / 0.6737 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00495/0.3761, allocations: 0.7641 MB / 0.6744 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.3774, allocations: 0.6491 MB / 0.6751 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003342/0.3777, allocations: 302.8 kB / 0.6754 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.3779, allocations: 68 kB / 0.6754 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.38, allocations: 0.9472 MB / 0.6763 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.38, allocations: 0 / 0.6763 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.904e-05/0.3801, allocations: 24 kB / 0.6764 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.3801, allocations: 16 kB / 0.6764 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.3822, allocations: 0.9655 MB / 0.6773 GB, free: 10.29 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.005091/0.3873, allocations: 2.336 MB / 0.6796 GB, free: 7.906 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.3891, allocations: 0.7791 MB / 0.6804 GB, free: 7.121 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.3905, allocations: 0.624 MB / 0.681 GB, free: 6.496 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.021e-05/0.3906, allocations: 12.64 kB / 0.681 GB, free: 6.484 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.3906, allocations: 47.16 kB / 0.681 GB, free: 6.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 3.366e-06/0.3906, allocations: 0 / 0.681 GB, free: 6.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02607/0.4167, allocations: 6.589 MB / 0.6875 GB, free: 15.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.4167, allocations: 67.94 kB / 0.6875 GB, free: 15.74 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.4179, allocations: 0.7866 MB / 0.6883 GB, free: 14.95 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001822/0.418, allocations: 41.7 kB / 0.6883 GB, free: 14.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.4184, allocations: 433.1 kB / 0.6887 GB, free: 14.47 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.4187, allocations: 309.4 kB / 0.689 GB, free: 14.17 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003715/0.4191, allocations: 170.6 kB / 0.6892 GB, free: 14 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4193, allocations: 345.9 kB / 0.6895 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.4207, allocations: 0.6425 MB / 0.6902 GB, free: 13.01 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.4222, allocations: 0.7549 MB / 0.6909 GB, free: 12.22 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01803/0.4403, allocations: 4.453 MB / 0.6953 GB, free: 7.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.4403, allocations: 0 / 0.6953 GB, free: 7.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01319/0.4535, allocations: 4.013 MB / 0.6992 GB, free: 3.703 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.4535, allocations: 8 kB / 0.6992 GB, free: 3.695 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.4535, allocations: 3.938 kB / 0.6992 GB, free: 3.691 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006312/0.4598, allocations: 1.866 MB / 0.701 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008616/0.4607, allocations: 159.8 kB / 0.7012 GB, free: 1.664 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0215/0.4822, allocations: 8.799 MB / 0.7097 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.4836, allocations: 155.3 kB / 0.7099 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.4837, allocations: 35.98 kB / 0.7099 GB, free: 8.559 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order21.delta:VARIABLE(flow=false start = order21.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0004681/0.4842, allocations: 217.7 kB / 0.7101 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.4844, allocations: 107.3 kB / 0.7102 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/0.4968, allocations: 3.793 MB / 0.7139 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.4969, allocations: 8 kB / 0.714 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.4969, allocations: 0 / 0.714 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/0.4969, allocations: 7.984 kB / 0.714 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/0.5117, allocations: 4.708 MB / 0.7186 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.5117, allocations: 3.938 kB / 0.7186 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005446/0.5123, allocations: 83.89 kB / 0.7186 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006136/0.5184, allocations: 1.741 MB / 0.7203 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/0.5186, allocations: 16 kB / 0.7204 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01938/0.538, allocations: 7.794 MB / 0.728 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.538, allocations: 0 / 0.728 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/0.5526, allocations: 4.654 MB / 0.7325 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003642/0.5529, allocations: 123 kB / 0.7326 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002841/0.5532, allocations: 16 kB / 0.7326 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.5543, allocations: 87.95 kB / 0.7327 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007116/0.555, allocations: 216.4 kB / 0.7329 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.5551, allocations: 16 kB / 0.733 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008161/0.5559, allocations: 0.5303 MB / 0.7335 GB, free: 216 kB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5559, allocations: 0 / 0.7335 GB, free: 216 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001524/0.5574, allocations: 407.7 kB / 0.7339 GB, free: 15.81 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.0152/0.5726, allocations: 5.231 MB / 0.739 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00687/0.5795, allocations: 2.193 MB / 0.7411 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.5795, allocations: 0 / 0.7411 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004576/0.5841, allocations: 1.429 MB / 0.7425 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008988/0.585, allocations: 83.3 kB / 0.7426 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03684/0.6218, allocations: 13.93 MB / 0.7562 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/0.6225, allocations: 437.9 kB / 0.7566 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003912/0.6229, allocations: 78.17 kB / 0.7567 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006328/0.6235, allocations: 379.2 kB / 0.757 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of SimCode: time 1.262e-06/0.6235, allocations: 0 / 0.757 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09892/0.7224, allocations: 31.99 MB / 0.7883 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.54/17.26, allocations: 4.062 kB / 0.7883 GB, free: 7.855 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.64863698510453] Failed to read output from testmodel.py, exit status != 0: 17.45161691098474 17.478213351 17.110332461 Calling exit ...