Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.001587/0.001587, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.271/1.271, allocations: 222.9 MB / 239 MB, free: 4.723 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.001188/0.001188, allocations: 188.5 kB / 289.2 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.456/0.456, allocations: 78.52 MB / 417.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 75.89 kB / 497 MB, free: 6.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1188, allocations: 68.16 MB / 0.552 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.2044/0.3233, allocations: 6.083 MB / 0.5579 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.3259, allocations: 1.775 MB / 0.5596 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004272/0.3264, allocations: 12.88 kB / 0.5596 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004709/0.3269, allocations: 154.8 kB / 0.5598 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.3282, allocations: 0.611 MB / 0.5604 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009656/0.3292, allocations: 0.5187 MB / 0.5609 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.3302, allocations: 1.24 MB / 0.5621 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003543/0.3306, allocations: 268 kB / 0.5624 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005129/0.3311, allocations: 0.5242 MB / 0.5629 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005049/0.3316, allocations: 0.6439 MB / 0.5635 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.3317, allocations: 88.12 kB / 0.5636 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.3321, allocations: 226.5 kB / 0.5638 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.3323, allocations: 245.2 kB / 0.564 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003132/0.3326, allocations: 0.5467 MB / 0.5646 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009724/0.3336, allocations: 1.348 MB / 0.5659 GB, free: 34.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3336, allocations: 0 / 0.5659 GB, free: 34.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3336, allocations: 0.9375 kB / 0.5659 GB, free: 34.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.3336, allocations: 2.438 kB / 0.5659 GB, free: 34.68 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.00644/0.34, allocations: 2.355 MB / 0.5682 GB, free: 33.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3401, allocations: 8.719 kB / 0.5682 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.3402, allocations: 117.1 kB / 0.5683 GB, free: 33.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004448/0.3447, allocations: 0.7531 MB / 0.569 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007712/0.3454, allocations: 0.7139 MB / 0.5697 GB, free: 33.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.3457, allocations: 249.6 kB / 0.57 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.3458, allocations: 71.38 kB / 0.5701 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.3476, allocations: 0.9571 MB / 0.571 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.3476, allocations: 0 / 0.571 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.284e-05/0.3477, allocations: 32.95 kB / 0.571 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.3477, allocations: 17.44 kB / 0.571 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.3495, allocations: 0.9671 MB / 0.572 GB, free: 33.11 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.004337/0.3538, allocations: 3.177 MB / 0.5751 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.3555, allocations: 1.3 MB / 0.5764 GB, free: 31.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.3566, allocations: 0.7007 MB / 0.577 GB, free: 31.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.3567, allocations: 22.47 kB / 0.5771 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.3567, allocations: 40.31 kB / 0.5771 GB, free: 31.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.475e-06/0.3567, allocations: 0 / 0.5771 GB, free: 31.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02403/0.3808, allocations: 6.759 MB / 0.5837 GB, free: 30.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.3808, allocations: 63.66 kB / 0.5838 GB, free: 30.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008892/0.3817, allocations: 0.8011 MB / 0.5845 GB, free: 29.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.3819, allocations: 41.08 kB / 0.5846 GB, free: 29.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.3821, allocations: 437.1 kB / 0.585 GB, free: 29.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.3823, allocations: 288.5 kB / 0.5853 GB, free: 29.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003282/0.3826, allocations: 183.3 kB / 0.5854 GB, free: 28.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.83e-05/0.3827, allocations: 345.8 kB / 0.5858 GB, free: 28.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.384, allocations: 0.65 MB / 0.5864 GB, free: 28.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.3854, allocations: 0.7727 MB / 0.5872 GB, free: 28.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01696/0.4023, allocations: 4.511 MB / 0.5916 GB, free: 26.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.4024, allocations: 1.469 kB / 0.5916 GB, free: 26.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0129/0.4153, allocations: 4.118 MB / 0.5956 GB, free: 25.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.4153, allocations: 12.41 kB / 0.5956 GB, free: 25.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4154, allocations: 1.406 kB / 0.5956 GB, free: 25.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005923/0.4213, allocations: 1.79 MB / 0.5974 GB, free: 25.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008091/0.4221, allocations: 166.4 kB / 0.5975 GB, free: 25.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01983/0.442, allocations: 9.343 MB / 0.6066 GB, free: 21.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.4433, allocations: 154.5 kB / 0.6068 GB, free: 20.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/0.4434, allocations: 38.11 kB / 0.6068 GB, free: 20.98 MB / 430.1 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.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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.0003666/0.4437, allocations: 231.2 kB / 0.607 GB, free: 20.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.4439, allocations: 99.12 kB / 0.6071 GB, free: 20.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/0.4551, allocations: 3.829 MB / 0.6109 GB, free: 18.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.4551, allocations: 8 kB / 0.6109 GB, free: 18.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4551, allocations: 0.5156 kB / 0.6109 GB, free: 18.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.4552, allocations: 3.984 kB / 0.6109 GB, free: 18.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.4668, allocations: 5.365 MB / 0.6161 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.4668, allocations: 0 / 0.6161 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.4673, allocations: 87.88 kB / 0.6162 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004833/0.4721, allocations: 1.75 MB / 0.6179 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.025e-05/0.4722, allocations: 16 kB / 0.6179 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01473/0.4869, allocations: 8.078 MB / 0.6258 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.487, allocations: 0 / 0.6258 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/0.4995, allocations: 4.716 MB / 0.6304 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/0.4999, allocations: 187.7 kB / 0.6306 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.5, allocations: 17.19 kB / 0.6306 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008452/0.5009, allocations: 83.89 kB / 0.6307 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006117/0.5015, allocations: 205.8 kB / 0.6309 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/0.5016, allocations: 21.08 kB / 0.6309 GB, free: 13.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006383/0.5022, allocations: 0.5382 MB / 0.6314 GB, free: 13.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5022, allocations: 0 / 0.6314 GB, free: 13.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001268/0.5035, allocations: 403.6 kB / 0.6318 GB, free: 12.96 MB / 446.1 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 (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.01388/0.5174, allocations: 5.28 MB / 0.637 GB, free: 7.645 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006369/0.5238, allocations: 2.352 MB / 0.6393 GB, free: 5.293 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5238, allocations: 3.938 kB / 0.6393 GB, free: 5.289 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004284/0.5281, allocations: 1.497 MB / 0.6407 GB, free: 3.773 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007706/0.5289, allocations: 92.53 kB / 0.6408 GB, free: 3.684 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03379/0.5627, allocations: 14.93 MB / 0.6554 GB, free: 4.453 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/0.5632, allocations: 1.033 MB / 0.6564 GB, free: 3.395 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003415/0.5636, allocations: 76.44 kB / 0.6565 GB, free: 3.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/0.564, allocations: 367.3 kB / 0.6568 GB, free: 2.961 MB / 462.1 MB Notification: Performance of SimCode: time 5.01e-07/0.564, allocations: 0 / 0.6568 GB, free: 2.961 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0462/0.6102, allocations: 29.62 MB / 0.6858 GB, free: 5.691 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.6104, allocations: 210.6 kB / 0.686 GB, free: 5.441 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/3.074, allocations: 0 / 0.686 GB, free: 5.441 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)