Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006601/0.006601, allocations: 169.5 kB / 15.13 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.3 MB / 239.1 MB, free: 12 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007788/0.000779, allocations: 95.98 kB / 290.3 MB, free: 4.508 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5921/0.5921, allocations: 78.61 MB / 420 MB, free: 36.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004344, allocations: 12 kB / 500 MB, free: 7.137 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1524, allocations: 69.35 MB / 0.556 GB, free: 1.723 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005101/0.1576, allocations: 5.293 MB / 0.5612 GB, free: 12.4 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003373/0.161, allocations: 1.686 MB / 0.5628 GB, free: 10.71 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006104/0.1616, allocations: 12 kB / 0.5628 GB, free: 10.7 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.162, allocations: 146.9 kB / 0.563 GB, free: 10.55 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.1635, allocations: 0.5703 MB / 0.5635 GB, free: 9.984 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.1646, allocations: 490.1 kB / 0.564 GB, free: 9.512 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.1659, allocations: 1.128 MB / 0.5651 GB, free: 8.379 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.1662, allocations: 215.3 kB / 0.5653 GB, free: 8.156 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000531/0.1667, allocations: 461.9 kB / 0.5657 GB, free: 7.703 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005972/0.1674, allocations: 0.5677 MB / 0.5663 GB, free: 7.133 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.1675, allocations: 48 kB / 0.5663 GB, free: 7.086 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003958/0.1679, allocations: 171.8 kB / 0.5665 GB, free: 6.918 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.168, allocations: 195 kB / 0.5667 GB, free: 6.727 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.1682, allocations: 201.1 kB / 0.5669 GB, free: 6.523 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009018/0.1691, allocations: 0.9896 MB / 0.5678 GB, free: 5.531 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1691, allocations: 0 / 0.5678 GB, free: 5.531 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1692, allocations: 0 / 0.5678 GB, free: 5.531 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.1692, allocations: 4 kB / 0.5678 GB, free: 5.527 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.007127/0.1763, allocations: 2.197 MB / 0.57 GB, free: 3.277 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1764, allocations: 8.031 kB / 0.57 GB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002472/0.1766, allocations: 122.4 kB / 0.5701 GB, free: 3.141 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004983/0.1816, allocations: 0.775 MB / 0.5709 GB, free: 2.363 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.1834, allocations: 0.6668 MB / 0.5715 GB, free: 1.652 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003862/0.1838, allocations: 272.1 kB / 0.5718 GB, free: 1.352 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.1839, allocations: 64 kB / 0.5718 GB, free: 1.289 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/0.1863, allocations: 1.019 MB / 0.5728 GB, free: 272 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.1863, allocations: 0 / 0.5728 GB, free: 272 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.1864, allocations: 28 kB / 0.5729 GB, free: 244 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.1865, allocations: 19.95 kB / 0.5729 GB, free: 224 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3411/0.5276, allocations: 1.055 MB / 0.5739 GB, free: 44.14 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.005664/0.5333, allocations: 3.232 MB / 0.5771 GB, free: 43.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.5354, allocations: 1.367 MB / 0.5784 GB, free: 42.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/0.5369, allocations: 0.7799 MB / 0.5792 GB, free: 42.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.225e-05/0.537, allocations: 11.28 kB / 0.5792 GB, free: 42.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.537, allocations: 42.66 kB / 0.5792 GB, free: 42.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 2.445e-06/0.537, allocations: 1.844 kB / 0.5792 GB, free: 42.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.02992/0.5669, allocations: 8.372 MB / 0.5874 GB, free: 42.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.567, allocations: 58.88 kB / 0.5875 GB, free: 42.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.5682, allocations: 0.7944 MB / 0.5882 GB, free: 41.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001737/0.5684, allocations: 39.52 kB / 0.5883 GB, free: 41.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.5687, allocations: 429.8 kB / 0.5887 GB, free: 41.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.569, allocations: 304 kB / 0.589 GB, free: 41.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.569, allocations: 16.84 kB / 0.589 GB, free: 41.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.5691, allocations: 353.1 kB / 0.5893 GB, free: 41.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.5706, allocations: 0.7228 MB / 0.59 GB, free: 41.24 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/0.5723, allocations: 0.8407 MB / 0.5908 GB, free: 41.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/0.5739, allocations: 0.7702 MB / 0.5916 GB, free: 41.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.5739, allocations: 0 / 0.5916 GB, free: 41.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01385/0.5878, allocations: 4.97 MB / 0.5965 GB, free: 40.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.5879, allocations: 8.938 kB / 0.5965 GB, free: 40.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.5879, allocations: 3.156 kB / 0.5965 GB, free: 40.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006323/0.5942, allocations: 2.101 MB / 0.5985 GB, free: 40.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009345/0.5952, allocations: 187.8 kB / 0.5987 GB, free: 40.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/0.6149, allocations: 9.523 MB / 0.608 GB, free: 35.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.6164, allocations: 193.1 kB / 0.6082 GB, free: 35.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.69e-05/0.6165, allocations: 37.33 kB / 0.6082 GB, free: 35.92 MB / 442.7 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.e1q:VARIABLE(start = order31.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004248/0.6169, allocations: 229.9 kB / 0.6084 GB, free: 35.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.6171, allocations: 99.62 kB / 0.6085 GB, free: 35.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/0.6311, allocations: 4.732 MB / 0.6131 GB, free: 34.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.6312, allocations: 9.094 kB / 0.6132 GB, free: 34.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.6312, allocations: 0 / 0.6132 GB, free: 34.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/0.6312, allocations: 6.938 kB / 0.6132 GB, free: 34.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/0.6478, allocations: 6.265 MB / 0.6193 GB, free: 32.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.6478, allocations: 0 / 0.6193 GB, free: 32.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/0.6484, allocations: 95.05 kB / 0.6194 GB, free: 32.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006973/0.6554, allocations: 2.048 MB / 0.6214 GB, free: 32.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002107/0.6557, allocations: 18.67 kB / 0.6214 GB, free: 32.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0189/0.6746, allocations: 8.21 MB / 0.6294 GB, free: 28.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6746, allocations: 0 / 0.6294 GB, free: 28.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01456/0.6892, allocations: 5.694 MB / 0.635 GB, free: 23.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003331/0.6896, allocations: 187.7 kB / 0.6351 GB, free: 23.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.6897, allocations: 15.95 kB / 0.6352 GB, free: 23.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008934/0.6906, allocations: 132.9 kB / 0.6353 GB, free: 22.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006076/0.6912, allocations: 196.6 kB / 0.6355 GB, free: 22.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/0.6913, allocations: 20 kB / 0.6355 GB, free: 22.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006073/0.6919, allocations: 0.5304 MB / 0.636 GB, free: 22.22 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6919, allocations: 4 kB / 0.636 GB, free: 22.22 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001173/0.6931, allocations: 410 kB / 0.6364 GB, free: 21.82 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01471/0.7078, allocations: 6.256 MB / 0.6425 GB, free: 15.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006638/0.7145, allocations: 2.575 MB / 0.645 GB, free: 12.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7145, allocations: 0 / 0.645 GB, free: 12.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0045/0.719, allocations: 1.688 MB / 0.6467 GB, free: 11.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008303/0.7199, allocations: 80.55 kB / 0.6468 GB, free: 11.19 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/0.7403, allocations: 10.45 MB / 0.657 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/0.7409, allocations: 1.035 MB / 0.658 GB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003543/0.7413, allocations: 81.05 kB / 0.6581 GB, free: 15.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004963/0.7418, allocations: 367.2 kB / 0.6584 GB, free: 15.02 MB / 458.7 MB Notification: Performance of SimCode: time 9.52e-07/0.7418, allocations: 0 / 0.6584 GB, free: 15.02 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05195/0.7937, allocations: 27.6 MB / 0.6854 GB, free: 3.73 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.794, allocations: 205.1 kB / 0.6856 GB, free: 3.492 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/3.664, allocations: 0 / 0.6856 GB, free: 3.492 MB / 474.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)