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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.319/1.319, allocations: 223.2 MB / 238.9 MB, free: 5.66 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.001212/0.001212, allocations: 185 kB / 290.2 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4415/0.4415, allocations: 78.51 MB / 419.8 MB, free: 4.359 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003749, allocations: 16 kB / 499.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1277, allocations: 69.36 MB / 0.5558 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.2243/0.3521, allocations: 4.962 MB / 0.5606 GB, free: 37.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.3551, allocations: 1.695 MB / 0.5623 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005346/0.3556, allocations: 14.78 kB / 0.5623 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.356, allocations: 142.9 kB / 0.5624 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.3574, allocations: 0.6217 MB / 0.563 GB, free: 37.33 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009609/0.3584, allocations: 477.9 kB / 0.5635 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.3594, allocations: 0.802 MB / 0.5643 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003158/0.3597, allocations: 214.5 kB / 0.5645 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004777/0.3602, allocations: 457.8 kB / 0.5649 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005092/0.3607, allocations: 0.5472 MB / 0.5654 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.816e-05/0.3608, allocations: 45.78 kB / 0.5655 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/0.3612, allocations: 158.3 kB / 0.5656 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.3614, allocations: 182.5 kB / 0.5658 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.3615, allocations: 199 kB / 0.566 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007734/0.3623, allocations: 0.9419 MB / 0.5669 GB, free: 36.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.3623, allocations: 0 / 0.5669 GB, free: 36.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3623, allocations: 0 / 0.5669 GB, free: 36.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.3623, allocations: 1.188 kB / 0.5669 GB, free: 36.84 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.006797/0.3691, allocations: 2.193 MB / 0.5691 GB, free: 36.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.458e-05/0.3692, allocations: 10.28 kB / 0.5691 GB, free: 36.06 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002619/0.3695, allocations: 115.3 kB / 0.5692 GB, free: 36.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004979/0.3745, allocations: 0.7624 MB / 0.5699 GB, free: 35.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.3759, allocations: 0.6593 MB / 0.5706 GB, free: 35.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002806/0.3762, allocations: 258.4 kB / 0.5708 GB, free: 35.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.3763, allocations: 69 kB / 0.5709 GB, free: 35.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.3783, allocations: 1.006 MB / 0.5719 GB, free: 35.37 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.3783, allocations: 0 / 0.5719 GB, free: 35.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.802e-05/0.3784, allocations: 29.56 kB / 0.5719 GB, free: 35.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.3784, allocations: 20.86 kB / 0.5719 GB, free: 35.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.3804, allocations: 1.056 MB / 0.5729 GB, free: 35.34 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.004794/0.3852, allocations: 3.312 MB / 0.5762 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.387, allocations: 1.384 MB / 0.5775 GB, free: 32.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-05/0.3871, allocations: 13.38 kB / 0.5775 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.3871, allocations: 42.28 kB / 0.5776 GB, free: 32.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.986e-06/0.3871, allocations: 2.844 kB / 0.5776 GB, free: 32.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02744/0.4146, allocations: 8.273 MB / 0.5857 GB, free: 31.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.4147, allocations: 71.95 kB / 0.5857 GB, free: 31.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.4158, allocations: 0.7738 MB / 0.5865 GB, free: 30.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002131/0.416, allocations: 41.11 kB / 0.5865 GB, free: 30.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.4162, allocations: 433.8 kB / 0.5869 GB, free: 30.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/0.4165, allocations: 287.4 kB / 0.5872 GB, free: 30.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.4166, allocations: 20.12 kB / 0.5872 GB, free: 30.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.162e-05/0.4167, allocations: 348.5 kB / 0.5876 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.4182, allocations: 0.7136 MB / 0.5883 GB, free: 29.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.4197, allocations: 0.8282 MB / 0.5891 GB, free: 29.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.4213, allocations: 0.7572 MB / 0.5898 GB, free: 29.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.4213, allocations: 1.031 kB / 0.5898 GB, free: 29.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01527/0.4366, allocations: 4.931 MB / 0.5946 GB, free: 28.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.4366, allocations: 8.875 kB / 0.5946 GB, free: 28.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.4367, allocations: 3.125 kB / 0.5946 GB, free: 28.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006968/0.4436, allocations: 2.163 MB / 0.5968 GB, free: 27.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008689/0.4445, allocations: 172.4 kB / 0.5969 GB, free: 27.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02257/0.4671, allocations: 9.795 MB / 0.6065 GB, free: 23.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.4686, allocations: 188.1 kB / 0.6067 GB, free: 23.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.4687, allocations: 34.84 kB / 0.6067 GB, free: 23.42 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 (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 prepare postOptimizeDAE: time 0.000425/0.4691, allocations: 232.6 kB / 0.6069 GB, free: 23.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.4694, allocations: 103.2 kB / 0.607 GB, free: 23.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/0.4832, allocations: 4.719 MB / 0.6116 GB, free: 20.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.4832, allocations: 12 kB / 0.6116 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4833, allocations: 0 / 0.6116 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-05/0.4833, allocations: 4.922 kB / 0.6116 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/0.4976, allocations: 6.239 MB / 0.6177 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.4977, allocations: 0 / 0.6177 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/0.4982, allocations: 91.83 kB / 0.6178 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005844/0.5041, allocations: 2.06 MB / 0.6198 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001432/0.5042, allocations: 16.81 kB / 0.6199 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01725/0.5215, allocations: 8.649 MB / 0.6283 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5215, allocations: 0 / 0.6283 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/0.5364, allocations: 5.669 MB / 0.6338 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.5368, allocations: 187.7 kB / 0.634 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.537, allocations: 15.95 kB / 0.634 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009867/0.538, allocations: 129 kB / 0.6342 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005626/0.5386, allocations: 200.6 kB / 0.6343 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.425e-05/0.5387, allocations: 19.94 kB / 0.6344 GB, free: 13.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006117/0.5393, allocations: 0.5263 MB / 0.6349 GB, free: 12.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5393, allocations: 0 / 0.6349 GB, free: 12.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001213/0.5405, allocations: 403.5 kB / 0.6353 GB, free: 12.17 MB / 446.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 (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.01587/0.5564, allocations: 6.232 MB / 0.6413 GB, free: 5.898 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006998/0.5634, allocations: 2.549 MB / 0.6438 GB, free: 3.332 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.5635, allocations: 0 / 0.6438 GB, free: 3.332 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004886/0.5684, allocations: 1.685 MB / 0.6455 GB, free: 1.645 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006055/0.569, allocations: 76.12 kB / 0.6456 GB, free: 1.578 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/0.5729, allocations: 3.777 MB / 0.6492 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/0.5734, allocations: 1.049 MB / 0.6503 GB, free: 12.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002652/0.5737, allocations: 77.28 kB / 0.6503 GB, free: 12.58 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/0.5741, allocations: 371.3 kB / 0.6507 GB, free: 12.22 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5741, allocations: 0 / 0.6507 GB, free: 12.22 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04301/0.6171, allocations: 26.64 MB / 0.6767 GB, free: 1.938 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/0.6174, allocations: 192.2 kB / 0.6769 GB, free: 1.699 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.334/2.951, allocations: 0 / 0.6769 GB, free: 1.699 MB / 478.1 MB (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/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) Environment - environmentSimulation: