Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.08082/0.08082, allocations: 12.36 MB / 31.99 MB, free: 6.477 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.001274/0.001274, allocations: 115.1 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.43/1.43, allocations: 207.6 MB / 251.6 MB, free: 7.367 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.001504/0.001504, allocations: 204.5 kB / 306.9 MB, free: 0.4961 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.3121/0.3121, allocations: 79.73 MB / 441.7 MB, free: 12.46 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.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.004049/0.004049, allocations: 139.8 kB / 0.5883 GB, free: 7.605 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4036, allocations: 71.95 MB / 0.6586 GB, free: 2.648 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006624/0.4102, allocations: 5.836 MB / 0.6643 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004416/0.4146, allocations: 1.732 MB / 0.666 GB, free: 13.15 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.4157, allocations: 9.531 kB / 0.666 GB, free: 13.15 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007099/0.4164, allocations: 193.8 kB / 0.6661 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002593/0.419, allocations: 0.7485 MB / 0.6669 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.4206, allocations: 0.5612 MB / 0.6674 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002624/0.4233, allocations: 1.251 MB / 0.6687 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004459/0.4237, allocations: 186 kB / 0.6688 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.4248, allocations: 0.5346 MB / 0.6693 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.4258, allocations: 0.6505 MB / 0.67 GB, free: 10.94 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.426, allocations: 87.91 kB / 0.6701 GB, free: 10.94 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006091/0.4266, allocations: 232 kB / 0.6703 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002721/0.4269, allocations: 246.3 kB / 0.6705 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006167/0.4275, allocations: 0.5419 MB / 0.6711 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.43, allocations: 1.364 MB / 0.6724 GB, free: 9.734 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.43, allocations: 0.5156 kB / 0.6724 GB, free: 9.734 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.43, allocations: 0 / 0.6724 GB, free: 9.734 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.74e-05/0.43, allocations: 0 / 0.6724 GB, free: 9.734 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.009319/0.4394, allocations: 2.309 MB / 0.6746 GB, free: 8.375 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.4394, allocations: 9.156 kB / 0.6746 GB, free: 8.375 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.417e-05/0.4395, allocations: 24.88 kB / 0.6747 GB, free: 8.363 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.4396, allocations: 113.1 kB / 0.6748 GB, free: 8.266 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005142/0.4448, allocations: 0.7686 MB / 0.6755 GB, free: 7.945 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.4463, allocations: 0.6531 MB / 0.6762 GB, free: 7.406 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003767/0.4467, allocations: 303.1 kB / 0.6765 GB, free: 7.117 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.4468, allocations: 68.69 kB / 0.6765 GB, free: 7.094 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.4491, allocations: 0.9586 MB / 0.6775 GB, free: 6.551 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.4491, allocations: 0 / 0.6775 GB, free: 6.551 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.269e-05/0.4492, allocations: 25.44 kB / 0.6775 GB, free: 6.531 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.4492, allocations: 16.25 kB / 0.6775 GB, free: 6.531 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/0.4516, allocations: 0.9771 MB / 0.6785 GB, free: 6.066 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.006819/0.4584, allocations: 3.124 MB / 0.6815 GB, free: 3.578 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.4604, allocations: 0.7695 MB / 0.6823 GB, free: 3.191 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.4618, allocations: 0.6309 MB / 0.6829 GB, free: 2.875 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.95e-05/0.4619, allocations: 14.27 kB / 0.6829 GB, free: 2.871 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.4619, allocations: 41.97 kB / 0.6829 GB, free: 2.824 MB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 2.554e-06/0.4619, allocations: 0 / 0.6829 GB, free: 2.824 MB / 462.1 MB Notification: Performance of matching and sorting (n=82): time 0.02822/0.4902, allocations: 6.656 MB / 0.6894 GB, free: 15.56 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.4902, allocations: 72.12 kB / 0.6895 GB, free: 15.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.4915, allocations: 0.7985 MB / 0.6903 GB, free: 15.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002043/0.4917, allocations: 39.89 kB / 0.6903 GB, free: 14.97 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/0.4921, allocations: 434.8 kB / 0.6907 GB, free: 14.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004066/0.4925, allocations: 310.3 kB / 0.691 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004267/0.4929, allocations: 180.7 kB / 0.6912 GB, free: 14.21 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.4931, allocations: 342.7 kB / 0.6915 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.4947, allocations: 0.6553 MB / 0.6922 GB, free: 13.55 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.4964, allocations: 0.7685 MB / 0.6929 GB, free: 13.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01822/0.5146, allocations: 4.504 MB / 0.6973 GB, free: 10.44 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.5146, allocations: 0 / 0.6973 GB, free: 10.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01442/0.529, allocations: 4.087 MB / 0.7013 GB, free: 6.336 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/0.529, allocations: 12 kB / 0.7013 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.529, allocations: 4 kB / 0.7013 GB, free: 6.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006876/0.5359, allocations: 1.787 MB / 0.7031 GB, free: 4.527 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.537, allocations: 167.8 kB / 0.7032 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02533/0.5623, allocations: 9.234 MB / 0.7122 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.5641, allocations: 151.3 kB / 0.7124 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002901/0.5644, allocations: 43.98 kB / 0.7124 GB, free: 10.82 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0007942/0.5652, allocations: 233.6 kB / 0.7126 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/0.5656, allocations: 107.3 kB / 0.7128 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/0.5793, allocations: 3.797 MB / 0.7165 GB, free: 6.664 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/0.5794, allocations: 8 kB / 0.7165 GB, free: 6.656 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5794, allocations: 0 / 0.7165 GB, free: 6.656 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.278e-05/0.5794, allocations: 3.984 kB / 0.7165 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01669/0.5961, allocations: 5.286 MB / 0.7216 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/0.5961, allocations: 4 kB / 0.7216 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007378/0.5969, allocations: 91.88 kB / 0.7217 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006478/0.6033, allocations: 1.745 MB / 0.7234 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002215/0.6036, allocations: 16 kB / 0.7234 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0217/0.6253, allocations: 7.973 MB / 0.7312 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6253, allocations: 0 / 0.7312 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01613/0.6414, allocations: 4.674 MB / 0.7358 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004932/0.6419, allocations: 123.1 kB / 0.7359 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003313/0.6422, allocations: 19.98 kB / 0.7359 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.6434, allocations: 83.91 kB / 0.736 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000716/0.6441, allocations: 216.5 kB / 0.7362 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.6442, allocations: 20 kB / 0.7362 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009546/0.6452, allocations: 0.5343 MB / 0.7368 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6452, allocations: 0 / 0.7368 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001878/0.647, allocations: 407.7 kB / 0.7371 GB, free: 1.176 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.01652/0.6636, allocations: 5.266 MB / 0.7423 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00724/0.6708, allocations: 2.212 MB / 0.7445 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6708, allocations: 4 kB / 0.7445 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004963/0.6758, allocations: 1.441 MB / 0.7459 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.677, allocations: 83.27 kB / 0.7459 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04075/0.7177, allocations: 14.13 MB / 0.7597 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000936/0.7186, allocations: 1.029 MB / 0.7607 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004193/0.7191, allocations: 82.19 kB / 0.7608 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006771/0.7197, allocations: 371.2 kB / 0.7612 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of SimCode: time 1.313e-06/0.7197, allocations: 0 / 0.7612 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07652/0.7963, allocations: 32.24 MB / 0.7927 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.67/17.47, allocations: 7.234 kB / 0.7927 GB, free: 8.059 MB / 0.5606 GB " [Timeout remaining time 642] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.004994414979592] Failed to read output from testmodel.py, exit status != 0: 17.661497951950878 17.679630936 17.246078208 Calling exit ...