Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.0008142/0.0008142, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.8467/0.8467, allocations: 177.1 MB / 199.4 MB, free: 5.938 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.0009791/0.0009791, allocations: 160.6 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2738/0.2738, allocations: 80.25 MB / 392.6 MB, free: 2.441 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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 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,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 4 kB / 0.5548 GB, free: 12.35 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.238e-05, allocations: 5.453 kB / 0.5548 GB, free: 12.34 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004546/0.004569, allocations: 5.054 MB / 0.5597 GB, free: 7.258 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003107/0.007676, allocations: 1.697 MB / 0.5614 GB, free: 5.559 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004746/0.00815, allocations: 15.94 kB / 0.5614 GB, free: 5.543 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.008535, allocations: 202.2 kB / 0.5616 GB, free: 5.344 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.009795, allocations: 0.7385 MB / 0.5623 GB, free: 4.605 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007748/0.01057, allocations: 0.5435 MB / 0.5628 GB, free: 4.066 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.01169, allocations: 1.279 MB / 0.5641 GB, free: 2.781 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.01194, allocations: 171.6 kB / 0.5643 GB, free: 2.605 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005747/0.01252, allocations: 0.7324 MB / 0.565 GB, free: 1.871 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003978/0.01291, allocations: 0.4984 MB / 0.5655 GB, free: 1.371 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.373e-05/0.013, allocations: 88 kB / 0.5655 GB, free: 1.285 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.01331, allocations: 231.8 kB / 0.5658 GB, free: 1.059 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.01345, allocations: 246.9 kB / 0.566 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002075/0.01366, allocations: 362.8 kB / 0.5663 GB, free: 472 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2019/0.2155, allocations: 1.379 MB / 0.5677 GB, free: 17.63 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2155, allocations: 0.625 kB / 0.5677 GB, free: 17.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2155, allocations: 2 kB / 0.5677 GB, free: 17.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.2155, allocations: 2.734 kB / 0.5677 GB, free: 17.63 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004073/0.2196, allocations: 2.288 MB / 0.5699 GB, free: 16.9 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2197, allocations: 10.12 kB / 0.5699 GB, free: 16.9 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00012/0.2198, allocations: 114.3 kB / 0.57 GB, free: 16.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002507/0.2223, allocations: 0.7624 MB / 0.5708 GB, free: 16.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008365/0.2231, allocations: 0.6488 MB / 0.5714 GB, free: 16.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.2233, allocations: 306.6 kB / 0.5717 GB, free: 16.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.2234, allocations: 69.59 kB / 0.5718 GB, free: 16.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.2247, allocations: 0.9397 MB / 0.5727 GB, free: 16.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.2247, allocations: 0 / 0.5727 GB, free: 16.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/0.2248, allocations: 27.56 kB / 0.5727 GB, free: 16.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.2248, allocations: 15.34 kB / 0.5727 GB, free: 16.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.2262, allocations: 0.9675 MB / 0.5737 GB, free: 16.2 MB / 442.7 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.003292/0.2294, allocations: 2.339 MB / 0.576 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.2307, allocations: 0.7729 MB / 0.5767 GB, free: 14.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000856/0.2315, allocations: 0.6227 MB / 0.5773 GB, free: 14.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.413e-05/0.2316, allocations: 16.92 kB / 0.5774 GB, free: 14.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.2316, allocations: 42.97 kB / 0.5774 GB, free: 14.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=81): time 2.595e-06/0.2316, allocations: 0 / 0.5774 GB, free: 14.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.01496/0.2466, allocations: 6.588 MB / 0.5838 GB, free: 13.63 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.2466, allocations: 60.03 kB / 0.5839 GB, free: 13.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007999/0.2474, allocations: 0.7941 MB / 0.5847 GB, free: 13.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.332e-05/0.2475, allocations: 40.67 kB / 0.5847 GB, free: 13.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.2476, allocations: 444.3 kB / 0.5851 GB, free: 12.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.2478, allocations: 296.2 kB / 0.5854 GB, free: 12.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.2481, allocations: 171.7 kB / 0.5856 GB, free: 12.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.227e-05/0.2481, allocations: 349.6 kB / 0.5859 GB, free: 12.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008258/0.2489, allocations: 0.6422 MB / 0.5865 GB, free: 11.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008905/0.2498, allocations: 0.7553 MB / 0.5873 GB, free: 11.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009274/0.2591, allocations: 4.562 MB / 0.5917 GB, free: 9.258 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.2591, allocations: 1.531 kB / 0.5917 GB, free: 9.258 MB / 442.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.006945/0.266, allocations: 4.013 MB / 0.5956 GB, free: 7.328 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.2661, allocations: 10.34 kB / 0.5956 GB, free: 7.324 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.2661, allocations: 1.406 kB / 0.5957 GB, free: 7.324 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003095/0.2692, allocations: 1.864 MB / 0.5975 GB, free: 6.566 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.2695, allocations: 167.9 kB / 0.5976 GB, free: 6.535 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.2808, allocations: 8.801 MB / 0.6062 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008152/0.2816, allocations: 155.3 kB / 0.6064 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.2817, allocations: 35.98 kB / 0.6064 GB, free: 14.12 MB / 458.7 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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.0003703/0.2821, allocations: 224.3 kB / 0.6066 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.2822, allocations: 114.4 kB / 0.6067 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006431/0.2886, allocations: 3.784 MB / 0.6104 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.2886, allocations: 8 kB / 0.6104 GB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.2886, allocations: 4 kB / 0.6104 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.2886, allocations: 7.359 kB / 0.6104 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007357/0.296, allocations: 4.698 MB / 0.615 GB, free: 5.297 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.296, allocations: 0 / 0.615 GB, free: 5.297 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.2962, allocations: 83.23 kB / 0.6151 GB, free: 5.219 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003068/0.2993, allocations: 1.745 MB / 0.6168 GB, free: 3.469 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/0.2993, allocations: 12 kB / 0.6168 GB, free: 3.457 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/0.3099, allocations: 7.791 MB / 0.6244 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3099, allocations: 2.734 kB / 0.6244 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00778/0.3177, allocations: 4.669 MB / 0.629 GB, free: 6.914 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.3179, allocations: 111.2 kB / 0.6291 GB, free: 6.805 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.074e-05/0.318, allocations: 16 kB / 0.6291 GB, free: 6.789 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004547/0.3184, allocations: 91.95 kB / 0.6292 GB, free: 6.699 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003595/0.3188, allocations: 212.6 kB / 0.6294 GB, free: 6.492 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.3188, allocations: 17.59 kB / 0.6294 GB, free: 6.477 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004473/0.3193, allocations: 0.5303 MB / 0.6299 GB, free: 5.953 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3193, allocations: 0 / 0.6299 GB, free: 5.953 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000837/0.3201, allocations: 407.6 kB / 0.6303 GB, free: 5.555 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.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 (48): * Single equations (assignments): 47 * 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.00796/0.3281, allocations: 5.228 MB / 0.6354 GB, free: 336 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003546/0.3316, allocations: 2.192 MB / 0.6376 GB, free: 14.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3316, allocations: 4.062 kB / 0.6376 GB, free: 14.13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002225/0.3339, allocations: 1.416 MB / 0.639 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.3343, allocations: 83.25 kB / 0.639 GB, free: 12.63 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/0.3538, allocations: 13.88 MB / 0.6526 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.3541, allocations: 445.3 kB / 0.653 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001904/0.3543, allocations: 74.19 kB / 0.6531 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.3546, allocations: 384.4 kB / 0.6535 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/0.3546, allocations: 0 / 0.6535 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03898/0.3936, allocations: 32.95 MB / 0.6856 GB, free: 13 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/8.625, allocations: 3.938 kB / 0.6856 GB, free: 13 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.868772369809449] Failed to read output from testmodel.py, exit status != 0: 8.723553377203643 8.732537214 8.515291648 Calling exit ...