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.009639/0.009639, allocations: 171.3 kB / 15.11 MB, free: 5.973 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.421/1.421, allocations: 223.2 MB / 239 MB, free: 56 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.0009464/0.0009463, allocations: 97.75 kB / 290.2 MB, free: 4.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4621/0.4621, allocations: 78.59 MB / 419.9 MB, free: 36.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005472/0.0005471, allocations: 12 kB / 499.9 MB, free: 7.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1552, allocations: 69.35 MB / 0.5559 GB, free: 1.742 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4197/0.5749, allocations: 97.05 MB / 0.6506 GB, free: 5.074 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.5752, allocations: 76.12 kB / 0.6507 GB, free: 5.035 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06271/0.638, allocations: 23.36 MB / 0.6735 GB, free: 14.29 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.638, allocations: 0 / 0.6735 GB, free: 14.29 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.127e-05/0.6381, allocations: 16 kB / 0.6735 GB, free: 14.27 MB / 474.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.005655/0.6438, allocations: 1.78 MB / 0.6753 GB, free: 12.44 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.683e-05/0.6439, allocations: 8.031 kB / 0.6753 GB, free: 12.43 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004171/0.6443, allocations: 118.5 kB / 0.6754 GB, free: 12.31 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003464/0.6478, allocations: 0.5371 MB / 0.6759 GB, free: 11.77 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.6495, allocations: 0.6796 MB / 0.6766 GB, free: 11.04 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003041/0.6498, allocations: 260.2 kB / 0.6768 GB, free: 10.75 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002511/0.6501, allocations: 67.95 kB / 0.6769 GB, free: 10.69 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/0.6527, allocations: 1.022 MB / 0.6779 GB, free: 9.656 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.6527, allocations: 0 / 0.6779 GB, free: 9.656 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.6529, allocations: 28 kB / 0.6779 GB, free: 9.629 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.6529, allocations: 21.19 kB / 0.6779 GB, free: 9.609 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003915/0.6568, allocations: 1.058 MB / 0.679 GB, free: 8.551 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0107/0.6676, allocations: 3.221 MB / 0.6821 GB, free: 5.176 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003723/0.6714, allocations: 1.362 MB / 0.6834 GB, free: 3.695 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.6715, allocations: 24.62 kB / 0.6835 GB, free: 3.672 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.6716, allocations: 35.22 kB / 0.6835 GB, free: 3.629 MB / 474.7 MB Notification: Performance of pre-optimization done (n=82): time 6.202e-06/0.6716, allocations: 4 kB / 0.6835 GB, free: 3.625 MB / 474.7 MB Notification: Performance of matching and sorting (n=82): time 0.04719/0.7188, allocations: 8.194 MB / 0.6915 GB, free: 11.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.7189, allocations: 64.02 kB / 0.6916 GB, free: 11.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.7206, allocations: 0.6769 MB / 0.6922 GB, free: 10.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002522/0.7208, allocations: 37.7 kB / 0.6923 GB, free: 10.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004909/0.7213, allocations: 442.9 kB / 0.6927 GB, free: 10.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004858/0.7218, allocations: 295.7 kB / 0.693 GB, free: 9.852 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.817e-05/0.722, allocations: 16 kB / 0.693 GB, free: 9.836 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.7221, allocations: 333.9 kB / 0.6933 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00228/0.7244, allocations: 0.6266 MB / 0.6939 GB, free: 8.879 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002382/0.7268, allocations: 0.7336 MB / 0.6946 GB, free: 8.109 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002301/0.7291, allocations: 0.6638 MB / 0.6953 GB, free: 7.449 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.7292, allocations: 4 kB / 0.6953 GB, free: 7.445 MB / 490.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.02246/0.7517, allocations: 4.7 MB / 0.6999 GB, free: 2.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.298e-05/0.7518, allocations: 12 kB / 0.6999 GB, free: 2.719 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.962e-05/0.7518, allocations: 3.984 kB / 0.6999 GB, free: 2.715 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01088/0.7627, allocations: 2.108 MB / 0.7019 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.7639, allocations: 127.8 kB / 0.7021 GB, free: 492 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03634/0.8003, allocations: 9.992 MB / 0.7118 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/0.8022, allocations: 175.2 kB / 0.712 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.8024, allocations: 24 kB / 0.712 GB, free: 6.176 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(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 (61): * Single equations (assignments): 60 * 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.000699/0.8031, allocations: 225.6 kB / 0.7122 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003328/0.8034, allocations: 98.78 kB / 0.7123 GB, free: 5.848 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02179/0.8252, allocations: 4.748 MB / 0.717 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.8253, allocations: 8 kB / 0.717 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.8253, allocations: 0 / 0.717 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-05/0.8254, allocations: 3.984 kB / 0.717 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02632/0.8517, allocations: 6.238 MB / 0.7231 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/0.8518, allocations: 0 / 0.7231 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.8528, allocations: 91.89 kB / 0.7232 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01088/0.8637, allocations: 2.059 MB / 0.7252 GB, free: 8.539 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002701/0.864, allocations: 12 kB / 0.7252 GB, free: 8.527 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03077/0.8948, allocations: 8.655 MB / 0.7336 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.8949, allocations: 0 / 0.7336 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02411/0.919, allocations: 5.671 MB / 0.7392 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005156/0.9196, allocations: 183.7 kB / 0.7393 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.9198, allocations: 20 kB / 0.7394 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/0.9213, allocations: 127.9 kB / 0.7395 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008883/0.9222, allocations: 192.6 kB / 0.7397 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.9224, allocations: 28 kB / 0.7397 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001111/0.9235, allocations: 0.5304 MB / 0.7402 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.7e-07/0.9235, allocations: 0 / 0.7402 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001829/0.9253, allocations: 395.5 kB / 0.7406 GB, free: 8.547 MB / 0.5261 GB 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.0252/0.9505, allocations: 6.257 MB / 0.7467 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009998/0.9606, allocations: 2.405 MB / 0.749 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.9607, allocations: 0 / 0.749 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007445/0.9681, allocations: 1.692 MB / 0.7507 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008268/0.969, allocations: 67.3 kB / 0.7508 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03646/1.005, allocations: 11.52 MB / 0.762 GB, free: 2.305 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008816/1.006, allocations: 1.056 MB / 0.763 GB, free: 1.223 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004652/1.007, allocations: 57.16 kB / 0.7631 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006754/1.008, allocations: 351.3 kB / 0.7634 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of SimCode: time 9.72e-07/1.008, allocations: 0 / 0.7634 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06973/1.077, allocations: 26.97 MB / 0.7898 GB, free: 6.066 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003274/1.078, allocations: 206.1 kB / 0.79 GB, free: 5.824 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/3.844, allocations: 0 / 0.79 GB, free: 5.824 MB / 0.573 GB (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)