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.0849/0.0849, allocations: 12.37 MB / 32 MB, free: 6.414 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.001239/0.001239, allocations: 113 kB / 38.04 MB, free: 1.094 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.405/1.405, allocations: 207.7 MB / 251.7 MB, free: 7.277 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.00157/0.00157, allocations: 204.5 kB / 306.9 MB, free: 296 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.3152/0.3152, allocations: 79.73 MB / 441.7 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.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.003987/0.003987, allocations: 141 kB / 0.5883 GB, free: 9.355 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1392, allocations: 71.97 MB / 0.6585 GB, free: 1.328 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.2632/0.4024, allocations: 5.112 MB / 0.6635 GB, free: 8.348 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003133/0.4056, allocations: 1.625 MB / 0.6651 GB, free: 7.703 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005543/0.4061, allocations: 14.06 kB / 0.6651 GB, free: 7.699 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004836/0.4066, allocations: 206.5 kB / 0.6653 GB, free: 7.602 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.4081, allocations: 0.7156 MB / 0.666 GB, free: 7.277 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.4092, allocations: 0.5521 MB / 0.6666 GB, free: 7.133 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.4104, allocations: 1.248 MB / 0.6678 GB, free: 6.504 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.4107, allocations: 192.4 kB / 0.668 GB, free: 6.395 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005883/0.4113, allocations: 0.5348 MB / 0.6685 GB, free: 6.133 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006202/0.4119, allocations: 0.6482 MB / 0.6691 GB, free: 5.816 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.412, allocations: 88.91 kB / 0.6692 GB, free: 5.816 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004602/0.4125, allocations: 233 kB / 0.6694 GB, free: 5.766 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.4127, allocations: 240.1 kB / 0.6697 GB, free: 5.605 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.413, allocations: 454.2 kB / 0.6701 GB, free: 5.344 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.4143, allocations: 1.374 MB / 0.6714 GB, free: 4.715 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4143, allocations: 0 / 0.6714 GB, free: 4.715 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4143, allocations: 6.938 kB / 0.6714 GB, free: 4.711 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.4144, allocations: 0 / 0.6714 GB, free: 4.711 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.006996/0.4214, allocations: 2.309 MB / 0.6737 GB, free: 3.688 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4214, allocations: 11.97 kB / 0.6737 GB, free: 3.688 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.988e-05/0.4214, allocations: 16 kB / 0.6737 GB, free: 3.684 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.4215, allocations: 112.4 kB / 0.6738 GB, free: 3.602 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004692/0.4262, allocations: 0.7659 MB / 0.6746 GB, free: 3.449 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.4273, allocations: 0.6542 MB / 0.6752 GB, free: 2.992 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/0.4276, allocations: 305 kB / 0.6755 GB, free: 2.715 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.4277, allocations: 62.28 kB / 0.6756 GB, free: 2.695 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.4295, allocations: 0.9581 MB / 0.6765 GB, free: 2.344 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.4296, allocations: 0 / 0.6765 GB, free: 2.344 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.12e-05/0.4296, allocations: 29.78 kB / 0.6765 GB, free: 2.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.4297, allocations: 19.91 kB / 0.6766 GB, free: 2.316 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.4315, allocations: 0.9733 MB / 0.6775 GB, free: 2 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.007058/0.4385, allocations: 2.361 MB / 0.6798 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.4408, allocations: 0.7702 MB / 0.6806 GB, free: 0.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/0.4419, allocations: 0.6286 MB / 0.6812 GB, free: 280 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.669e-05/0.442, allocations: 13.69 kB / 0.6812 GB, free: 276 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.442, allocations: 39.94 kB / 0.6812 GB, free: 232 kB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 2.755e-06/0.442, allocations: 0 / 0.6812 GB, free: 232 kB / 462.1 MB Notification: Performance of matching and sorting (n=82): time 0.0262/0.4682, allocations: 6.66 MB / 0.6877 GB, free: 14.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.4683, allocations: 64.34 kB / 0.6878 GB, free: 14 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.4695, allocations: 0.7934 MB / 0.6886 GB, free: 13.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002463/0.4697, allocations: 37.2 kB / 0.6886 GB, free: 13.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.4701, allocations: 442.6 kB / 0.689 GB, free: 13.11 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003537/0.4704, allocations: 314.4 kB / 0.6893 GB, free: 12.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003902/0.4708, allocations: 185.1 kB / 0.6895 GB, free: 12.72 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.471, allocations: 347.4 kB / 0.6898 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.4725, allocations: 0.6471 MB / 0.6905 GB, free: 12.06 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.4741, allocations: 0.7767 MB / 0.6912 GB, free: 11.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01833/0.4924, allocations: 4.491 MB / 0.6956 GB, free: 9.41 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.4924, allocations: 1.156 kB / 0.6956 GB, free: 9.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01292/0.5053, allocations: 4.088 MB / 0.6996 GB, free: 7.402 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.5053, allocations: 6.094 kB / 0.6996 GB, free: 7.402 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.5054, allocations: 3.188 kB / 0.6996 GB, free: 7.402 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006065/0.5114, allocations: 1.792 MB / 0.7014 GB, free: 6.625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000902/0.5123, allocations: 164.2 kB / 0.7015 GB, free: 6.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02168/0.534, allocations: 9.029 MB / 0.7103 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.5355, allocations: 151.3 kB / 0.7105 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.5356, allocations: 43.98 kB / 0.7105 GB, free: 14.03 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.0004745/0.5361, allocations: 223.3 kB / 0.7107 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.5363, allocations: 107.3 kB / 0.7108 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.5491, allocations: 3.797 MB / 0.7145 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.5491, allocations: 8 kB / 0.7146 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.5491, allocations: 3.938 kB / 0.7146 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.255e-05/0.5491, allocations: 11.97 kB / 0.7146 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/0.5636, allocations: 4.727 MB / 0.7192 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.5636, allocations: 0 / 0.7192 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006063/0.5642, allocations: 83.89 kB / 0.7193 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005901/0.5701, allocations: 1.744 MB / 0.721 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/0.5702, allocations: 16 kB / 0.721 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01829/0.5885, allocations: 7.776 MB / 0.7286 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5885, allocations: 4 kB / 0.7286 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01441/0.6029, allocations: 4.682 MB / 0.7331 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/0.6033, allocations: 119.1 kB / 0.7333 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.6035, allocations: 11.94 kB / 0.7333 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009141/0.6044, allocations: 95.89 kB / 0.7334 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006567/0.605, allocations: 214.6 kB / 0.7336 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.262e-05/0.6051, allocations: 19.98 kB / 0.7336 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007003/0.6058, allocations: 0.5383 MB / 0.7341 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6058, allocations: 0 / 0.7341 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001182/0.607, allocations: 407.7 kB / 0.7345 GB, free: 5.227 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.01464/0.6216, allocations: 5.254 MB / 0.7396 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006411/0.6281, allocations: 2.219 MB / 0.7418 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.6281, allocations: 0 / 0.7418 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004461/0.6325, allocations: 1.45 MB / 0.7432 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008258/0.6333, allocations: 79.91 kB / 0.7433 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03613/0.6695, allocations: 14.13 MB / 0.7571 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.6699, allocations: 446.2 kB / 0.7575 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000361/0.6703, allocations: 76.14 kB / 0.7576 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005143/0.6708, allocations: 364.4 kB / 0.7579 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of SimCode: time 8.82e-07/0.6708, allocations: 4 kB / 0.7579 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06417/0.735, allocations: 32.42 MB / 0.7896 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.48/17.21, allocations: 8 kB / 0.7896 GB, free: 12.59 MB / 0.5606 GB " [Timeout remaining time 643] (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 os._exit(0), Time elapsed: 20.69059117406141] Failed to read output from testmodel.py, exit status != 0: 17.397183167980984 17.41647064 16.998465695 Calling exit ...