Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 238.9 MB, free: 4.758 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001261, allocations: 196.5 kB / 289.2 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.517/0.517, allocations: 91.9 MB / 431.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.001599, allocations: 79.86 kB / 0.5013 GB, free: 8.047 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3768, allocations: 71.26 MB / 0.5709 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004912/0.3818, allocations: 6.047 MB / 0.5768 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002921/0.3848, allocations: 1.783 MB / 0.5786 GB, free: 31.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000534/0.3853, allocations: 12.09 kB / 0.5786 GB, free: 31.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004766/0.3858, allocations: 162.2 kB / 0.5787 GB, free: 31.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.3872, allocations: 0.6068 MB / 0.5793 GB, free: 31.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009951/0.3882, allocations: 0.5154 MB / 0.5798 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009018/0.3891, allocations: 1.174 MB / 0.581 GB, free: 30.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000325/0.3895, allocations: 250.5 kB / 0.5812 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004499/0.3899, allocations: 487.4 kB / 0.5817 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004985/0.3904, allocations: 0.6066 MB / 0.5823 GB, free: 30 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.3905, allocations: 57.03 kB / 0.5823 GB, free: 30 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003691/0.3909, allocations: 185.2 kB / 0.5825 GB, free: 29.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.3911, allocations: 211.2 kB / 0.5827 GB, free: 29.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003325/0.3914, allocations: 0.5049 MB / 0.5832 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009587/0.3924, allocations: 1.287 MB / 0.5844 GB, free: 28.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3924, allocations: 6.875 kB / 0.5845 GB, free: 28.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3924, allocations: 3.938 kB / 0.5845 GB, free: 28.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.3924, allocations: 0 / 0.5845 GB, free: 28.91 MB / 430.1 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.007017/0.3994, allocations: 2.334 MB / 0.5867 GB, free: 27.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.3995, allocations: 12.75 kB / 0.5867 GB, free: 27.83 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.3997, allocations: 109.6 kB / 0.5869 GB, free: 27.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004853/0.4045, allocations: 0.7574 MB / 0.5876 GB, free: 27.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009141/0.4054, allocations: 0.7009 MB / 0.5883 GB, free: 27.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.4057, allocations: 253.1 kB / 0.5885 GB, free: 26.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.4058, allocations: 63.03 kB / 0.5886 GB, free: 26.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.4077, allocations: 0.9505 MB / 0.5895 GB, free: 26.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.4078, allocations: 0 / 0.5895 GB, free: 26.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-05/0.4078, allocations: 25.19 kB / 0.5895 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.4079, allocations: 15.56 kB / 0.5895 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.4099, allocations: 0.9724 MB / 0.5905 GB, free: 26.18 MB / 430.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.004933/0.4149, allocations: 3.15 MB / 0.5936 GB, free: 24.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.4168, allocations: 1.313 MB / 0.5949 GB, free: 23.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.4182, allocations: 0.6991 MB / 0.5955 GB, free: 23.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.4183, allocations: 17.39 kB / 0.5956 GB, free: 23.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.4183, allocations: 38.66 kB / 0.5956 GB, free: 23.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.434e-06/0.4183, allocations: 4 kB / 0.5956 GB, free: 23.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.028/0.4463, allocations: 6.689 MB / 0.6021 GB, free: 21.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.4464, allocations: 67.27 kB / 0.6022 GB, free: 21.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.4476, allocations: 0.7846 MB / 0.603 GB, free: 21.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001969/0.4478, allocations: 40.45 kB / 0.603 GB, free: 21.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.4481, allocations: 430.7 kB / 0.6034 GB, free: 21.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.4484, allocations: 290.9 kB / 0.6037 GB, free: 20.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003729/0.4487, allocations: 176 kB / 0.6038 GB, free: 20.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.4488, allocations: 350.4 kB / 0.6042 GB, free: 20.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.4503, allocations: 0.6405 MB / 0.6048 GB, free: 20.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.4518, allocations: 0.7588 MB / 0.6055 GB, free: 19.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01867/0.4705, allocations: 4.44 MB / 0.6099 GB, free: 18.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/0.4705, allocations: 1.703 kB / 0.6099 GB, free: 18.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01411/0.4847, allocations: 4.04 MB / 0.6138 GB, free: 17.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.4847, allocations: 5.531 kB / 0.6138 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.4848, allocations: 6.469 kB / 0.6138 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006478/0.4912, allocations: 1.854 MB / 0.6157 GB, free: 16.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008457/0.4921, allocations: 175.7 kB / 0.6158 GB, free: 16.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/0.5106, allocations: 8.371 MB / 0.624 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.5121, allocations: 147.1 kB / 0.6241 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/0.5123, allocations: 36 kB / 0.6242 GB, free: 7.656 MB / 430.1 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.0005985/0.513, allocations: 230.4 kB / 0.6244 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/0.5133, allocations: 102.8 kB / 0.6245 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.525, allocations: 3.825 MB / 0.6282 GB, free: 3.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.525, allocations: 12 kB / 0.6282 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.525, allocations: 0 / 0.6282 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.5251, allocations: 3.984 kB / 0.6282 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/0.5399, allocations: 5.324 MB / 0.6334 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.54, allocations: 4 kB / 0.6334 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005275/0.5405, allocations: 83.89 kB / 0.6335 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006199/0.5467, allocations: 1.741 MB / 0.6352 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/0.5469, allocations: 20 kB / 0.6352 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/0.5652, allocations: 7.366 MB / 0.6424 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.5653, allocations: 0 / 0.6424 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01532/0.5806, allocations: 4.684 MB / 0.647 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004496/0.5811, allocations: 179.7 kB / 0.6472 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003592/0.5815, allocations: 16 kB / 0.6472 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.5827, allocations: 95.95 kB / 0.6473 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007582/0.5834, allocations: 192.6 kB / 0.6475 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.5836, allocations: 20 kB / 0.6475 GB, free: 15.42 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008265/0.5844, allocations: 0.5302 MB / 0.648 GB, free: 14.89 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5844, allocations: 0 / 0.648 GB, free: 14.89 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001586/0.586, allocations: 407.5 kB / 0.6484 GB, free: 14.5 MB / 462.1 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.01556/0.6016, allocations: 5.265 MB / 0.6535 GB, free: 9.191 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006882/0.6085, allocations: 2.249 MB / 0.6557 GB, free: 6.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.6085, allocations: 4 kB / 0.6557 GB, free: 6.926 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004823/0.6133, allocations: 1.463 MB / 0.6572 GB, free: 5.453 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.6144, allocations: 79.25 kB / 0.6572 GB, free: 5.379 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03912/0.6536, allocations: 14.71 MB / 0.6716 GB, free: 6.348 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008456/0.6545, allocations: 1.033 MB / 0.6726 GB, free: 5.289 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000435/0.6549, allocations: 78.17 kB / 0.6727 GB, free: 5.211 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006132/0.6555, allocations: 375.3 kB / 0.6731 GB, free: 4.844 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6556, allocations: 0 / 0.6731 GB, free: 4.844 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05219/0.7078, allocations: 27.87 MB / 0.7003 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.708, allocations: 214.4 kB / 0.7005 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/3.26, allocations: 0 / 0.7005 GB, free: 8.855 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)