Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json 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.0008108/0.0008108, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8751/0.8751, allocations: 177.1 MB / 199.4 MB, free: 5.93 MB / 186.7 MB " [Timeout remaining time 179] 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.001151/0.001151, allocations: 160.5 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2629/0.2629, allocations: 80.36 MB / 392.7 MB, free: 2.371 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 0.555 GB, free: 12.58 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.701e-05, allocations: 2.281 kB / 0.555 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.004461/0.004478, allocations: 5.679 MB / 0.5605 GB, free: 6.859 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.006874, allocations: 1.872 MB / 0.5623 GB, free: 4.984 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003153/0.007189, allocations: 15.94 kB / 0.5624 GB, free: 4.969 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.007545, allocations: 226 kB / 0.5626 GB, free: 4.746 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.008909, allocations: 0.775 MB / 0.5633 GB, free: 3.969 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000775/0.009684, allocations: 0.6208 MB / 0.5639 GB, free: 3.355 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009523/0.01064, allocations: 1.456 MB / 0.5654 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.01094, allocations: 212.8 kB / 0.5656 GB, free: 1.676 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006647/0.0116, allocations: 0.8259 MB / 0.5664 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004579/0.01206, allocations: 0.5646 MB / 0.5669 GB, free: 288 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.01216, allocations: 100 kB / 0.567 GB, free: 188 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003029/0.01246, allocations: 247.8 kB / 0.5672 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.01261, allocations: 286.6 kB / 0.5675 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.01285, allocations: 410.6 kB / 0.5679 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.01388, allocations: 1.565 MB / 0.5694 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.01389, allocations: 3.984 kB / 0.5694 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.011e-06/0.01389, allocations: 0 / 0.5694 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.0139, allocations: 0 / 0.5694 GB, free: 13.68 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00434/0.01824, allocations: 2.511 MB / 0.5719 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.01829, allocations: 11.97 kB / 0.5719 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.01841, allocations: 130.8 kB / 0.572 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/0.02099, allocations: 0.8186 MB / 0.5728 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008923/0.02188, allocations: 0.7284 MB / 0.5735 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.02209, allocations: 307.6 kB / 0.5738 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.0222, allocations: 75.98 kB / 0.5739 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.02363, allocations: 1.077 MB / 0.575 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.02364, allocations: 3.938 kB / 0.575 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/0.02371, allocations: 28 kB / 0.575 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.02373, allocations: 23.94 kB / 0.575 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.02524, allocations: 1.113 MB / 0.5761 GB, free: 6.711 MB / 0.4948 GB 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.003468/0.0287, allocations: 2.588 MB / 0.5786 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.02988, allocations: 0.873 MB / 0.5795 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009132/0.03079, allocations: 0.6914 MB / 0.5802 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.85e-05/0.03087, allocations: 13 kB / 0.5802 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.03089, allocations: 47.56 kB / 0.5802 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 2.084e-06/0.0309, allocations: 4 kB / 0.5802 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.01338/0.04427, allocations: 6.65 MB / 0.5867 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.04431, allocations: 60.41 kB / 0.5868 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007202/0.04503, allocations: 0.9001 MB / 0.5876 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.415e-05/0.04509, allocations: 41.7 kB / 0.5877 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/0.04535, allocations: 0.5014 MB / 0.5882 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.04556, allocations: 348.9 kB / 0.5885 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.04582, allocations: 198.8 kB / 0.5887 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.063e-05/0.04591, allocations: 345.9 kB / 0.589 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.04692, allocations: 0.7131 MB / 0.5897 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.04801, allocations: 0.8423 MB / 0.5905 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/0.05815, allocations: 4.896 MB / 0.5953 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.05816, allocations: 4 kB / 0.5953 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.1927/0.2509, allocations: 4.226 MB / 0.5995 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.2509, allocations: 6.25 kB / 0.5995 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.2509, allocations: 5.469 kB / 0.5995 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003049/0.254, allocations: 1.854 MB / 0.6013 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005882/0.2546, allocations: 210.2 kB / 0.6015 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/0.2655, allocations: 8.786 MB / 0.6101 GB, free: 88.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007403/0.2663, allocations: 179 kB / 0.6102 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/0.2663, allocations: 38.44 kB / 0.6103 GB, free: 88.15 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (108): * Single equations (assignments): 107 * 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.000307/0.2666, allocations: 244.3 kB / 0.6105 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.2668, allocations: 127.6 kB / 0.6106 GB, free: 87.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006945/0.2738, allocations: 3.971 MB / 0.6145 GB, free: 87.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.2738, allocations: 9.625 kB / 0.6145 GB, free: 87.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.2738, allocations: 3.438 kB / 0.6145 GB, free: 87.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.2738, allocations: 6.25 kB / 0.6145 GB, free: 87.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008191/0.282, allocations: 4.981 MB / 0.6194 GB, free: 85.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.282, allocations: 3.281 kB / 0.6194 GB, free: 85.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.2823, allocations: 131.6 kB / 0.6195 GB, free: 85.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003271/0.2856, allocations: 1.734 MB / 0.6212 GB, free: 85.28 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/0.2857, allocations: 22.77 kB / 0.6212 GB, free: 85.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009996/0.2956, allocations: 7.773 MB / 0.6288 GB, free: 81.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2956, allocations: 0 / 0.6288 GB, free: 81.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007812/0.3035, allocations: 4.938 MB / 0.6336 GB, free: 80.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.3036, allocations: 137.9 kB / 0.6338 GB, free: 80.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.246e-05/0.3037, allocations: 20.06 kB / 0.6338 GB, free: 80 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004923/0.3042, allocations: 112.2 kB / 0.6339 GB, free: 79.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003996/0.3046, allocations: 227.1 kB / 0.6341 GB, free: 79.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/0.3047, allocations: 20.5 kB / 0.6341 GB, free: 79.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005559/0.3052, allocations: 0.5956 MB / 0.6347 GB, free: 79.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.3052, allocations: 0 / 0.6347 GB, free: 79.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001036/0.3063, allocations: 440.2 kB / 0.6351 GB, free: 79.39 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.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 (63): * Single equations (assignments): 62 * 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.00769/0.3139, allocations: 5.53 MB / 0.6405 GB, free: 76.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003392/0.3173, allocations: 2.353 MB / 0.6428 GB, free: 74.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3173, allocations: 0 / 0.6428 GB, free: 74.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002146/0.3195, allocations: 1.515 MB / 0.6443 GB, free: 73.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.3199, allocations: 91.25 kB / 0.6444 GB, free: 73.24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/0.3385, allocations: 15.08 MB / 0.6591 GB, free: 58.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.3387, allocations: 0.4946 MB / 0.6596 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001844/0.3389, allocations: 94.7 kB / 0.6597 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.3392, allocations: 448.3 kB / 0.6601 GB, free: 56.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/0.3392, allocations: 0 / 0.6601 GB, free: 56.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03817/0.3774, allocations: 35.77 MB / 0.6951 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.727/9.105, allocations: 4.062 kB / 0.6951 GB, free: 21.38 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.494970142841339] Failed to read output from testmodel.py, exit status != 0: 9.208267015405 9.214839487999999 9.199397588 Calling exit ...