Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.07906/0.07906, allocations: 12.77 MB / 29.12 MB, free: 220 kB / 19.63 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.001264/0.001264, allocations: 115.5 kB / 34.9 MB, free: 1.207 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.378/1.378, allocations: 207.6 MB / 248.2 MB, free: 10.36 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.001426/0.001426, allocations: 188.3 kB / 303.1 MB, free: 5.602 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.4379/0.4379, allocations: 79.71 MB / 437.6 MB, free: 4.07 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_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",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.004232/0.004232, allocations: 147.8 kB / 0.5828 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1451, allocations: 72.01 MB / 0.6531 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007712/0.1528, allocations: 6.517 MB / 0.6595 GB, free: 8.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003995/0.1568, allocations: 1.842 MB / 0.6613 GB, free: 7.062 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008801/0.1577, allocations: 12 kB / 0.6613 GB, free: 7.051 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006298/0.1583, allocations: 218 kB / 0.6615 GB, free: 6.836 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.1603, allocations: 0.761 MB / 0.6622 GB, free: 6.07 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.1616, allocations: 0.6173 MB / 0.6628 GB, free: 5.461 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00169/0.1633, allocations: 1.417 MB / 0.6642 GB, free: 4.039 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.1638, allocations: 228.4 kB / 0.6644 GB, free: 3.805 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007854/0.1645, allocations: 0.599 MB / 0.665 GB, free: 3.203 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007986/0.1653, allocations: 0.7349 MB / 0.6657 GB, free: 2.465 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.1655, allocations: 104 kB / 0.6658 GB, free: 2.363 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004515/0.1659, allocations: 235.9 kB / 0.6661 GB, free: 2.133 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.1662, allocations: 282.7 kB / 0.6663 GB, free: 1.855 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005544/0.1667, allocations: 0.6251 MB / 0.667 GB, free: 1.227 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.1684, allocations: 1.525 MB / 0.6684 GB, free: 15.69 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1684, allocations: 0 / 0.6684 GB, free: 15.69 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1684, allocations: 0 / 0.6684 GB, free: 15.69 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.1685, allocations: 0 / 0.6684 GB, free: 15.69 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.00781/0.1763, allocations: 2.605 MB / 0.671 GB, free: 13.03 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1763, allocations: 15.98 kB / 0.671 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001631/0.1765, allocations: 130.8 kB / 0.6711 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004812/0.1813, allocations: 0.7835 MB / 0.6719 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.1826, allocations: 0.789 MB / 0.6727 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/0.1829, allocations: 260.1 kB / 0.6729 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.1831, allocations: 83.95 kB / 0.673 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/0.1853, allocations: 1.077 MB / 0.674 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.1853, allocations: 0 / 0.674 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-05/0.1854, allocations: 32 kB / 0.6741 GB, free: 9.766 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.1854, allocations: 20 kB / 0.6741 GB, free: 9.746 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/0.188, allocations: 1.124 MB / 0.6752 GB, free: 8.617 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.006054/0.194, allocations: 3.441 MB / 0.6785 GB, free: 5.027 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.1962, allocations: 1.337 MB / 0.6799 GB, free: 3.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.1977, allocations: 0.6992 MB / 0.6805 GB, free: 2.871 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.756e-05/0.1978, allocations: 24.98 kB / 0.6806 GB, free: 2.848 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.1978, allocations: 47.5 kB / 0.6806 GB, free: 2.793 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 2.645e-06/0.1978, allocations: 0 / 0.6806 GB, free: 2.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.02454/0.2224, allocations: 6.575 MB / 0.687 GB, free: 12.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.2224, allocations: 64.41 kB / 0.6871 GB, free: 12.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.2237, allocations: 0.9002 MB / 0.688 GB, free: 11.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.2239, allocations: 45.7 kB / 0.688 GB, free: 11.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000397/0.2243, allocations: 497.4 kB / 0.6885 GB, free: 10.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003699/0.2247, allocations: 372.8 kB / 0.6888 GB, free: 10.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003827/0.225, allocations: 198.9 kB / 0.689 GB, free: 10.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2252, allocations: 353.9 kB / 0.6894 GB, free: 9.723 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.2268, allocations: 0.7209 MB / 0.6901 GB, free: 9.004 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.2286, allocations: 0.8501 MB / 0.6909 GB, free: 8.121 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01811/0.2467, allocations: 4.83 MB / 0.6956 GB, free: 3.258 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.2467, allocations: 0 / 0.6956 GB, free: 3.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.2702/0.5169, allocations: 4.234 MB / 0.6998 GB, free: 40.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.5169, allocations: 9.688 kB / 0.6998 GB, free: 40.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.517, allocations: 3.047 kB / 0.6998 GB, free: 40.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006578/0.5235, allocations: 1.804 MB / 0.7015 GB, free: 40.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.5247, allocations: 208.6 kB / 0.7017 GB, free: 40.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02127/0.546, allocations: 9.327 MB / 0.7108 GB, free: 37.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.5474, allocations: 180.6 kB / 0.711 GB, free: 37.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.893e-05/0.5475, allocations: 42.34 kB / 0.711 GB, free: 37.12 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.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 (111): * Single equations (assignments): 110 * 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.0004081/0.5479, allocations: 250.1 kB / 0.7113 GB, free: 36.94 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.5481, allocations: 129.8 kB / 0.7114 GB, free: 36.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/0.5603, allocations: 3.988 MB / 0.7153 GB, free: 35.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.5603, allocations: 10.69 kB / 0.7153 GB, free: 35.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5603, allocations: 0 / 0.7153 GB, free: 35.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.5604, allocations: 3.797 kB / 0.7153 GB, free: 35.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.5735, allocations: 5.577 MB / 0.7208 GB, free: 34.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.5735, allocations: 1.062 kB / 0.7208 GB, free: 34.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006762/0.5742, allocations: 130.1 kB / 0.7209 GB, free: 34.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005185/0.5794, allocations: 1.748 MB / 0.7226 GB, free: 33.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.5795, allocations: 24.05 kB / 0.7226 GB, free: 33.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01519/0.5947, allocations: 8.085 MB / 0.7305 GB, free: 28.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5947, allocations: 0 / 0.7305 GB, free: 28.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/0.6072, allocations: 4.938 MB / 0.7353 GB, free: 25.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.6076, allocations: 213.2 kB / 0.7355 GB, free: 25.72 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.6077, allocations: 18.77 kB / 0.7356 GB, free: 25.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009228/0.6086, allocations: 112.6 kB / 0.7357 GB, free: 25.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006494/0.6093, allocations: 215.1 kB / 0.7359 GB, free: 25.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.456e-05/0.6093, allocations: 23.81 kB / 0.7359 GB, free: 25.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000611/0.61, allocations: 0.5991 MB / 0.7365 GB, free: 25.01 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.61, allocations: 0 / 0.7365 GB, free: 25.01 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00119/0.6111, allocations: 441.4 kB / 0.7369 GB, free: 24.59 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.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 (64): * Single equations (assignments): 63 * 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.0129/0.624, allocations: 5.52 MB / 0.7423 GB, free: 19.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006317/0.6304, allocations: 2.379 MB / 0.7446 GB, free: 16.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6304, allocations: 6.906 kB / 0.7446 GB, free: 16.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004124/0.6345, allocations: 1.529 MB / 0.7461 GB, free: 15.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008038/0.6353, allocations: 96.98 kB / 0.7462 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03179/0.6671, allocations: 15.3 MB / 0.7611 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008162/0.6679, allocations: 1.099 MB / 0.7622 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004337/0.6683, allocations: 86.94 kB / 0.7623 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000628/0.669, allocations: 447.3 kB / 0.7627 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.669, allocations: 4 kB / 0.7627 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08524/0.7542, allocations: 34.07 MB / 0.796 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.35/18.11, allocations: 7.219 kB / 0.796 GB, free: 11.91 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.176590201910585] Failed to read output from testmodel.py, exit status != 0: 18.21369067300111 18.228847497 18.057308005 Calling exit ...