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-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07913/0.07913, allocations: 12.77 MB / 29.12 MB, free: 6.379 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 119.5 kB / 34.91 MB, free: 1.078 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.385/1.385, allocations: 207.6 MB / 248.2 MB, free: 10.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 196.4 kB / 303.1 MB, free: 5.582 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.4227/0.4227, allocations: 79.72 MB / 437.6 MB, free: 3.957 MB / 302.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.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.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003828/0.003828, allocations: 143.8 kB / 0.5828 GB, free: 7.59 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1354, allocations: 72 MB / 0.6531 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.007138/0.1426, allocations: 5.826 MB / 0.6588 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003672/0.1462, allocations: 1.713 MB / 0.6605 GB, free: 7.891 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004883/0.1467, allocations: 8 kB / 0.6605 GB, free: 7.883 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.1472, allocations: 210.2 kB / 0.6607 GB, free: 7.676 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.1489, allocations: 0.7301 MB / 0.6614 GB, free: 6.945 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.1501, allocations: 0.5648 MB / 0.6619 GB, free: 6.387 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001408/0.1515, allocations: 1.253 MB / 0.6632 GB, free: 5.129 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.1519, allocations: 183.2 kB / 0.6633 GB, free: 4.938 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006603/0.1526, allocations: 0.5212 MB / 0.6638 GB, free: 4.414 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007328/0.1533, allocations: 0.6494 MB / 0.6645 GB, free: 3.762 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.1534, allocations: 88 kB / 0.6646 GB, free: 3.676 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.1539, allocations: 227.9 kB / 0.6648 GB, free: 3.453 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.1541, allocations: 250.8 kB / 0.665 GB, free: 3.207 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004591/0.1545, allocations: 0.5398 MB / 0.6655 GB, free: 2.664 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.1561, allocations: 1.361 MB / 0.6669 GB, free: 1.297 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1561, allocations: 3.938 kB / 0.6669 GB, free: 1.293 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1561, allocations: 4 kB / 0.6669 GB, free: 1.289 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.1561, allocations: 0 / 0.6669 GB, free: 1.289 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.007572/0.1637, allocations: 2.383 MB / 0.6692 GB, free: 14.85 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.1637, allocations: 11.98 kB / 0.6692 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000157/0.1639, allocations: 114.5 kB / 0.6693 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004987/0.1689, allocations: 0.7602 MB / 0.6701 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.1703, allocations: 0.729 MB / 0.6708 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003225/0.1706, allocations: 248.2 kB / 0.671 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.1708, allocations: 68 kB / 0.6711 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.1728, allocations: 0.952 MB / 0.672 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.1728, allocations: 0 / 0.672 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.419e-05/0.1729, allocations: 35.98 kB / 0.672 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.1729, allocations: 16 kB / 0.6721 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.175, allocations: 0.9721 MB / 0.673 GB, free: 10.86 MB / 478.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.005669/0.1807, allocations: 3.166 MB / 0.6761 GB, free: 7.539 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.1827, allocations: 1.219 MB / 0.6773 GB, free: 6.199 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.1841, allocations: 0.6335 MB / 0.6779 GB, free: 5.566 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.782e-05/0.1842, allocations: 12.64 kB / 0.6779 GB, free: 5.555 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.1842, allocations: 39.22 kB / 0.678 GB, free: 5.508 MB / 478.1 MB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/0.1842, allocations: 0 / 0.678 GB, free: 5.508 MB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.02644/0.2106, allocations: 6.736 MB / 0.6845 GB, free: 14.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.2107, allocations: 67.98 kB / 0.6846 GB, free: 14.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.2118, allocations: 0.7948 MB / 0.6854 GB, free: 13.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.212, allocations: 41.7 kB / 0.6854 GB, free: 13.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.2123, allocations: 437 kB / 0.6858 GB, free: 13.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/0.2127, allocations: 309.3 kB / 0.6861 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003544/0.213, allocations: 182.9 kB / 0.6863 GB, free: 12.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2132, allocations: 345.9 kB / 0.6866 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.2146, allocations: 0.6545 MB / 0.6873 GB, free: 11.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.2162, allocations: 0.7717 MB / 0.688 GB, free: 11.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01723/0.2334, allocations: 4.5 MB / 0.6924 GB, free: 6.523 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.2334, allocations: 0 / 0.6924 GB, free: 6.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01308/0.2465, allocations: 4.087 MB / 0.6964 GB, free: 2.426 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.2465, allocations: 8 kB / 0.6964 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.2465, allocations: 0 / 0.6964 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006126/0.2527, allocations: 1.795 MB / 0.6982 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008809/0.2535, allocations: 163.7 kB / 0.6983 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2867/0.5402, allocations: 9.316 MB / 0.7074 GB, free: 38.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.5415, allocations: 155.8 kB / 0.7076 GB, free: 38.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.5416, allocations: 35.59 kB / 0.7076 GB, free: 38.29 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.0004077/0.542, allocations: 230.3 kB / 0.7078 GB, free: 38.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.5422, allocations: 104.5 kB / 0.7079 GB, free: 38.06 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/0.5553, allocations: 3.798 MB / 0.7116 GB, free: 37.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/0.5553, allocations: 8 kB / 0.7116 GB, free: 37.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5553, allocations: 1.891 kB / 0.7116 GB, free: 37.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/0.5554, allocations: 4.969 kB / 0.7117 GB, free: 37.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/0.569, allocations: 5.318 MB / 0.7168 GB, free: 35.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/0.569, allocations: 3.938 kB / 0.7168 GB, free: 35.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005346/0.5696, allocations: 95.39 kB / 0.7169 GB, free: 35.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005335/0.5749, allocations: 1.748 MB / 0.7186 GB, free: 35.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.575, allocations: 18.19 kB / 0.7187 GB, free: 35.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01641/0.5914, allocations: 8.064 MB / 0.7265 GB, free: 31.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5914, allocations: 0 / 0.7265 GB, free: 31.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/0.6042, allocations: 4.685 MB / 0.7311 GB, free: 28.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/0.6045, allocations: 195.3 kB / 0.7313 GB, free: 28.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.6046, allocations: 20.09 kB / 0.7313 GB, free: 28.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008418/0.6055, allocations: 95.27 kB / 0.7314 GB, free: 28.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005397/0.606, allocations: 198.6 kB / 0.7316 GB, free: 28.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.409e-05/0.6061, allocations: 19.78 kB / 0.7316 GB, free: 28.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005058/0.6066, allocations: 0.5444 MB / 0.7322 GB, free: 28.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6066, allocations: 0 / 0.7322 GB, free: 28.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001087/0.6077, allocations: 408.4 kB / 0.7325 GB, free: 28.2 MB / 494.1 MB 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.01215/0.6198, allocations: 5.25 MB / 0.7377 GB, free: 24.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005429/0.6252, allocations: 2.219 MB / 0.7398 GB, free: 22.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6252, allocations: 4.062 kB / 0.7398 GB, free: 22.06 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0043/0.6295, allocations: 1.444 MB / 0.7412 GB, free: 20.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006692/0.6302, allocations: 79.66 kB / 0.7413 GB, free: 20.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02879/0.659, allocations: 14.13 MB / 0.7551 GB, free: 6.258 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.6593, allocations: 1.033 MB / 0.7561 GB, free: 5.199 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002651/0.6596, allocations: 74.19 kB / 0.7562 GB, free: 5.125 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000364/0.66, allocations: 367.3 kB / 0.7566 GB, free: 4.766 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/0.66, allocations: 0 / 0.7566 GB, free: 4.766 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06657/0.7265, allocations: 31.36 MB / 0.7872 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.71/16.43, allocations: 7.734 kB / 0.7872 GB, free: 5.453 MB / 0.5137 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: 35.972217627801] Failed to read output from testmodel.py, exit status != 0: 16.541547970380634 16.563603663 16.403376181 Calling exit ...