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.08142/0.08142, allocations: 12.36 MB / 31.98 MB, free: 6.48 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.001336/0.001336, allocations: 112.4 kB / 38.03 MB, free: 1.16 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.418/1.418, allocations: 207.6 MB / 251.6 MB, free: 7.602 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.001555/0.001555, allocations: 208.4 kB / 306.9 MB, free: 0.7422 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.3211/0.3211, allocations: 79.74 MB / 441.7 MB, free: 10.48 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.003961/0.003961, allocations: 135.8 kB / 0.5883 GB, free: 5.434 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3313, allocations: 71.97 MB / 0.6586 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006891/0.3381, allocations: 5.774 MB / 0.6642 GB, free: 8.086 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003612/0.3418, allocations: 1.713 MB / 0.6659 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004461/0.3422, allocations: 8 kB / 0.6659 GB, free: 6.359 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004674/0.3427, allocations: 202.2 kB / 0.6661 GB, free: 6.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.3443, allocations: 0.7457 MB / 0.6668 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.3454, allocations: 0.5569 MB / 0.6674 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.3468, allocations: 1.225 MB / 0.6686 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/0.3472, allocations: 191.5 kB / 0.6687 GB, free: 3.434 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006491/0.3478, allocations: 0.5252 MB / 0.6692 GB, free: 2.906 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000728/0.3486, allocations: 0.6494 MB / 0.6699 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.3487, allocations: 88 kB / 0.67 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004162/0.3491, allocations: 219.9 kB / 0.6702 GB, free: 1.953 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.3493, allocations: 234.9 kB / 0.6704 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004606/0.3498, allocations: 0.5437 MB / 0.6709 GB, free: 1.176 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.3512, allocations: 1.337 MB / 0.6722 GB, free: 15.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3512, allocations: 0 / 0.6722 GB, free: 15.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3512, allocations: 0 / 0.6722 GB, free: 15.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.3512, allocations: 0 / 0.6722 GB, free: 15.84 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007898/0.3591, allocations: 2.288 MB / 0.6745 GB, free: 13.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3592, allocations: 15.97 kB / 0.6745 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.916e-05/0.3592, allocations: 21.31 kB / 0.6745 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.3593, allocations: 114.5 kB / 0.6746 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004942/0.3643, allocations: 0.7641 MB / 0.6754 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.3656, allocations: 0.6491 MB / 0.676 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003523/0.3659, allocations: 310.9 kB / 0.6763 GB, free: 11.56 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.3661, allocations: 64 kB / 0.6764 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.3682, allocations: 0.951 MB / 0.6773 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3682, allocations: 0 / 0.6773 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-05/0.3683, allocations: 28 kB / 0.6773 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.3683, allocations: 16 kB / 0.6773 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002287/0.3706, allocations: 0.9733 MB / 0.6783 GB, free: 9.52 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.005581/0.3762, allocations: 3.08 MB / 0.6813 GB, free: 6.297 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.3781, allocations: 0.7907 MB / 0.6821 GB, free: 5.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.3795, allocations: 0.6202 MB / 0.6827 GB, free: 4.879 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-05/0.3796, allocations: 12.64 kB / 0.6827 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.3797, allocations: 43.22 kB / 0.6827 GB, free: 4.816 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.485e-06/0.3797, allocations: 0 / 0.6827 GB, free: 4.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02815/0.4078, allocations: 6.588 MB / 0.6891 GB, free: 14.21 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.4079, allocations: 68 kB / 0.6892 GB, free: 14.13 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.4094, allocations: 0.7866 MB / 0.69 GB, free: 13.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001967/0.4096, allocations: 41.7 kB / 0.69 GB, free: 13.29 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/0.41, allocations: 437 kB / 0.6904 GB, free: 12.86 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004306/0.4104, allocations: 301.4 kB / 0.6907 GB, free: 12.56 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004566/0.4109, allocations: 174.6 kB / 0.6909 GB, free: 12.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.4111, allocations: 341.9 kB / 0.6912 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/0.4126, allocations: 0.6464 MB / 0.6918 GB, free: 11.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.4143, allocations: 0.7588 MB / 0.6926 GB, free: 10.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01844/0.4328, allocations: 4.449 MB / 0.6969 GB, free: 6.117 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.4328, allocations: 0 / 0.6969 GB, free: 6.117 MB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01405/0.4468, allocations: 4.009 MB / 0.7008 GB, free: 2.094 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.4469, allocations: 11.98 kB / 0.7009 GB, free: 2.082 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.4469, allocations: 0 / 0.7009 GB, free: 2.082 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006478/0.4534, allocations: 1.859 MB / 0.7027 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/0.4542, allocations: 167.8 kB / 0.7028 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02341/0.4776, allocations: 9.001 MB / 0.7116 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.4791, allocations: 155.3 kB / 0.7118 GB, free: 6.785 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002447/0.4794, allocations: 39.92 kB / 0.7118 GB, free: 6.746 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.0007279/0.4801, allocations: 221.7 kB / 0.712 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000333/0.4804, allocations: 107.3 kB / 0.7121 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/0.4938, allocations: 3.786 MB / 0.7158 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.4939, allocations: 8 kB / 0.7158 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4939, allocations: 3.938 kB / 0.7158 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.4939, allocations: 3.984 kB / 0.7158 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/0.5094, allocations: 5.27 MB / 0.721 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.5094, allocations: 7.875 kB / 0.721 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005505/0.51, allocations: 83.89 kB / 0.7211 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006226/0.5162, allocations: 1.749 MB / 0.7228 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/0.5163, allocations: 12 kB / 0.7228 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02036/0.5367, allocations: 7.981 MB / 0.7306 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.5367, allocations: 0 / 0.7306 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/0.5521, allocations: 4.658 MB / 0.7351 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/0.5524, allocations: 119 kB / 0.7352 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.5527, allocations: 16 kB / 0.7353 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.5537, allocations: 91.95 kB / 0.7354 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006514/0.5544, allocations: 208.5 kB / 0.7356 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-05/0.5544, allocations: 20 kB / 0.7356 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008343/0.5553, allocations: 0.5264 MB / 0.7361 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5553, allocations: 0 / 0.7361 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001408/0.5567, allocations: 403.7 kB / 0.7365 GB, free: 13.18 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.01607/0.5728, allocations: 5.242 MB / 0.7416 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00718/0.5799, allocations: 2.197 MB / 0.7437 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5799, allocations: 0 / 0.7437 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00489/0.5848, allocations: 1.437 MB / 0.7451 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008652/0.5857, allocations: 75.31 kB / 0.7452 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03762/0.6233, allocations: 13.94 MB / 0.7588 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/0.6241, allocations: 1.025 MB / 0.7598 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003428/0.6245, allocations: 74.19 kB / 0.7599 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006037/0.6251, allocations: 379.3 kB / 0.7603 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of SimCode: time 1.272e-06/0.6251, allocations: 0 / 0.7603 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07159/0.6967, allocations: 31.76 MB / 0.7913 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.28/16.97, allocations: 12.02 kB / 0.7913 GB, free: 4.805 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.514616372063756] Failed to read output from testmodel.py, exit status != 0: 17.15849043801427 17.178258654 16.823845447 Calling exit ...