Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_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.00105/0.00105, 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.336/1.336, allocations: 222.9 MB / 238.9 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.00136/0.00136, allocations: 192.4 kB / 289.2 MB, free: 2.457 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5112/0.5112, allocations: 91.9 MB / 431.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 83.88 kB / 0.5013 GB, free: 8.039 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3988, allocations: 71.26 MB / 0.5709 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005105/0.404, allocations: 6.108 MB / 0.5769 GB, free: 32.92 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003156/0.4071, allocations: 1.785 MB / 0.5786 GB, free: 31.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004312/0.4076, allocations: 11.66 kB / 0.5786 GB, free: 31.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.4081, allocations: 169.1 kB / 0.5788 GB, free: 31.83 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.4094, allocations: 0.6052 MB / 0.5794 GB, free: 31.44 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009718/0.4104, allocations: 0.5266 MB / 0.5799 GB, free: 31.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.4114, allocations: 1.192 MB / 0.5811 GB, free: 30.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003549/0.4118, allocations: 242.9 kB / 0.5813 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005307/0.4123, allocations: 493.6 kB / 0.5818 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000524/0.4129, allocations: 0.6162 MB / 0.5824 GB, free: 29.94 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-05/0.413, allocations: 55.22 kB / 0.5824 GB, free: 29.94 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.4134, allocations: 193.4 kB / 0.5826 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.4135, allocations: 209.5 kB / 0.5828 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003513/0.4139, allocations: 0.5147 MB / 0.5833 GB, free: 29.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.4149, allocations: 1.312 MB / 0.5846 GB, free: 28.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.415, allocations: 0 / 0.5846 GB, free: 28.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.415, allocations: 0 / 0.5846 GB, free: 28.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.415, allocations: 0 / 0.5846 GB, free: 28.83 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.007139/0.4221, allocations: 2.352 MB / 0.5869 GB, free: 27.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.4222, allocations: 9.781 kB / 0.5869 GB, free: 27.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.4223, allocations: 113.5 kB / 0.587 GB, free: 27.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00472/0.4271, allocations: 0.7642 MB / 0.5877 GB, free: 27.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.4282, allocations: 0.7047 MB / 0.5884 GB, free: 27.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002964/0.4285, allocations: 247.4 kB / 0.5887 GB, free: 26.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.4287, allocations: 69.28 kB / 0.5887 GB, free: 26.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.4306, allocations: 0.9547 MB / 0.5897 GB, free: 26.42 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.4307, allocations: 3.938 kB / 0.5897 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-05/0.4308, allocations: 29.98 kB / 0.5897 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.4308, allocations: 19.25 kB / 0.5897 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.4328, allocations: 0.9763 MB / 0.5907 GB, free: 26.08 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.005018/0.4378, allocations: 3.173 MB / 0.5938 GB, free: 24.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.4398, allocations: 1.308 MB / 0.595 GB, free: 23.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.4411, allocations: 0.7021 MB / 0.5957 GB, free: 23.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.4412, allocations: 13.17 kB / 0.5957 GB, free: 23.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.4413, allocations: 43.59 kB / 0.5958 GB, free: 23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.356e-06/0.4413, allocations: 0 / 0.5958 GB, free: 23 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.0284/0.4697, allocations: 6.755 MB / 0.6024 GB, free: 21.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.4698, allocations: 64.44 kB / 0.6024 GB, free: 21.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.4711, allocations: 0.7997 MB / 0.6032 GB, free: 21.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.4712, allocations: 41.92 kB / 0.6033 GB, free: 21.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.4715, allocations: 433 kB / 0.6037 GB, free: 21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/0.4718, allocations: 293.1 kB / 0.604 GB, free: 20.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/0.4722, allocations: 190.8 kB / 0.6041 GB, free: 20.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.4723, allocations: 343.9 kB / 0.6045 GB, free: 20.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.4738, allocations: 0.6535 MB / 0.6051 GB, free: 20.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.4753, allocations: 0.7713 MB / 0.6059 GB, free: 19.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01826/0.4936, allocations: 4.492 MB / 0.6102 GB, free: 18.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.4936, allocations: 1.094 kB / 0.6103 GB, free: 18.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01366/0.5073, allocations: 4.122 MB / 0.6143 GB, free: 17.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.5074, allocations: 6.25 kB / 0.6143 GB, free: 17.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.5074, allocations: 2.906 kB / 0.6143 GB, free: 17.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006018/0.5134, allocations: 1.786 MB / 0.616 GB, free: 16.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007959/0.5142, allocations: 159.8 kB / 0.6162 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01769/0.5319, allocations: 8.599 MB / 0.6246 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.5334, allocations: 158.9 kB / 0.6247 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.79e-05/0.5335, allocations: 39.98 kB / 0.6248 GB, free: 7.031 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.0004361/0.5339, allocations: 222.8 kB / 0.625 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.5341, allocations: 98.78 kB / 0.6251 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/0.5454, allocations: 3.836 MB / 0.6288 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.5454, allocations: 12 kB / 0.6288 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5454, allocations: 4 kB / 0.6288 GB, free: 2.832 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.5455, allocations: 7.984 kB / 0.6288 GB, free: 2.824 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/0.5592, allocations: 5.352 MB / 0.6341 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.5592, allocations: 0 / 0.6341 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005453/0.5598, allocations: 87.89 kB / 0.6342 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005826/0.5656, allocations: 1.745 MB / 0.6359 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.5658, allocations: 20 kB / 0.6359 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/0.5829, allocations: 7.346 MB / 0.6431 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.583, allocations: 0 / 0.6431 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/0.5972, allocations: 4.712 MB / 0.6477 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.5976, allocations: 183.7 kB / 0.6478 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/0.5979, allocations: 16 kB / 0.6478 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.5989, allocations: 91.89 kB / 0.6479 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006257/0.5995, allocations: 200.6 kB / 0.6481 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.003e-05/0.5996, allocations: 19.94 kB / 0.6481 GB, free: 14.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007247/0.6003, allocations: 0.5343 MB / 0.6487 GB, free: 14.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6004, allocations: 0 / 0.6487 GB, free: 14.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001266/0.6016, allocations: 411.5 kB / 0.6491 GB, free: 13.77 MB / 462.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.01476/0.6164, allocations: 5.292 MB / 0.6542 GB, free: 8.445 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006264/0.6227, allocations: 2.289 MB / 0.6565 GB, free: 6.141 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6227, allocations: 0 / 0.6565 GB, free: 6.141 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004491/0.6272, allocations: 1.463 MB / 0.6579 GB, free: 4.668 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008616/0.6281, allocations: 83.27 kB / 0.658 GB, free: 4.586 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.037/0.6651, allocations: 14.92 MB / 0.6725 GB, free: 5.344 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007741/0.6659, allocations: 1.041 MB / 0.6736 GB, free: 4.277 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004153/0.6663, allocations: 78.17 kB / 0.6736 GB, free: 4.199 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005976/0.667, allocations: 363.3 kB / 0.674 GB, free: 3.844 MB / 478.1 MB Notification: Performance of SimCode: time 7.91e-07/0.667, allocations: 0 / 0.674 GB, free: 3.844 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05198/0.719, allocations: 28.32 MB / 0.7016 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.7192, allocations: 217 kB / 0.7018 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/3.295, allocations: 0 / 0.7018 GB, free: 7.422 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)