Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 174.3 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.2 MB / 218.5 MB, free: 9.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008753/0.0008752, allocations: 84.45 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07551/0.07551, allocations: 12.19 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2858/0.2858, allocations: 78.03 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.185e-05/4.186e-05, allocations: 4 kB / 0.5213 GB, free: 24.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 69.25 MB / 0.5889 GB, free: 2.945 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4145/0.538, allocations: 100 MB / 0.6866 GB, free: 244 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.5383, allocations: 73.78 kB / 0.6867 GB, free: 208 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06035/0.5986, allocations: 23.95 MB / 0.7101 GB, free: 11.96 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5987, allocations: 0 / 0.7101 GB, free: 11.96 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.203e-05/0.5987, allocations: 20 kB / 0.7101 GB, free: 11.94 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004409/0.6032, allocations: 1.682 MB / 0.7117 GB, free: 10.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.6032, allocations: 15.97 kB / 0.7118 GB, free: 10.31 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001975/0.6034, allocations: 122.7 kB / 0.7119 GB, free: 10.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003148/0.6066, allocations: 0.5488 MB / 0.7124 GB, free: 9.723 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.608, allocations: 0.7095 MB / 0.7131 GB, free: 9.098 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000273/0.6083, allocations: 264.4 kB / 0.7134 GB, free: 8.828 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.6084, allocations: 76.39 kB / 0.7134 GB, free: 8.777 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.61, allocations: 0.9105 MB / 0.7143 GB, free: 8.184 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.61, allocations: 0 / 0.7143 GB, free: 8.184 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/0.6101, allocations: 25.81 kB / 0.7143 GB, free: 8.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.6101, allocations: 20 kB / 0.7144 GB, free: 8.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.6115, allocations: 0.809 MB / 0.7152 GB, free: 7.656 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005762/0.6172, allocations: 3.565 MB / 0.7186 GB, free: 4.902 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.6189, allocations: 1.27 MB / 0.7199 GB, free: 3.816 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007743/0.6197, allocations: 0.5615 MB / 0.7204 GB, free: 3.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.6198, allocations: 12.78 kB / 0.7204 GB, free: 3.508 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.6198, allocations: 45.95 kB / 0.7205 GB, free: 3.461 MB / 458.7 MB Notification: Performance of pre-optimization done (n=89): time 3.577e-06/0.6198, allocations: 4 kB / 0.7205 GB, free: 3.457 MB / 458.7 MB Notification: Performance of matching and sorting (n=89): time 0.01172/0.6315, allocations: 4.024 MB / 0.7244 GB, free: 15.97 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.6316, allocations: 89.89 kB / 0.7245 GB, free: 15.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009055/0.6326, allocations: 0.6915 MB / 0.7252 GB, free: 15.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.6327, allocations: 36.08 kB / 0.7252 GB, free: 15.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.633, allocations: 465.2 kB / 0.7257 GB, free: 15.03 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.6333, allocations: 315.8 kB / 0.726 GB, free: 14.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.6334, allocations: 17.5 kB / 0.726 GB, free: 14.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6335, allocations: 346.8 kB / 0.7263 GB, free: 14.42 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006948/0.6342, allocations: 442.9 kB / 0.7267 GB, free: 14.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007626/0.6349, allocations: 0.5415 MB / 0.7273 GB, free: 13.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007264/0.6357, allocations: 478 kB / 0.7277 GB, free: 13.56 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.6357, allocations: 0 / 0.7277 GB, free: 13.56 MB / 474.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01237/0.6481, allocations: 4.181 MB / 0.7318 GB, free: 9.953 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004582/0.6486, allocations: 0.878 MB / 0.7326 GB, free: 9.023 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.6486, allocations: 0 / 0.7326 GB, free: 9.023 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005644/0.6543, allocations: 1.753 MB / 0.7344 GB, free: 7.496 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007562/0.655, allocations: 134.9 kB / 0.7345 GB, free: 7.367 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/0.6697, allocations: 7.301 MB / 0.7416 GB, free: 2.035 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.6712, allocations: 187.1 kB / 0.7418 GB, free: 1.852 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.884e-05/0.6713, allocations: 28 kB / 0.7418 GB, free: 1.824 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.6713, allocations: 4 kB / 0.7418 GB, free: 1.82 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01169/0.683, allocations: 4.05 MB / 0.7458 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/0.6831, allocations: 4 kB / 0.7458 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005523/0.6886, allocations: 1.753 MB / 0.7475 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/0.6895, allocations: 131.8 kB / 0.7476 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/0.7045, allocations: 7.292 MB / 0.7547 GB, free: 4.445 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.7062, allocations: 179.2 kB / 0.7549 GB, free: 4.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/0.7064, allocations: 28 kB / 0.7549 GB, free: 4.242 MB / 490.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003649/0.7068, allocations: 140.9 kB / 0.7551 GB, free: 4.098 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004001/0.7072, allocations: 106.7 kB / 0.7552 GB, free: 3.992 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/0.7197, allocations: 4.157 MB / 0.7592 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.7198, allocations: 12 kB / 0.7592 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.7198, allocations: 4 kB / 0.7593 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.699e-05/0.7199, allocations: 7.984 kB / 0.7593 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01539/0.7353, allocations: 5.818 MB / 0.7649 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/0.7353, allocations: 3.984 kB / 0.7649 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007419/0.7361, allocations: 107.9 kB / 0.765 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005455/0.7416, allocations: 1.683 MB / 0.7667 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002388/0.7418, allocations: 23.98 kB / 0.7667 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/0.756, allocations: 6.344 MB / 0.7729 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.756, allocations: 7.938 kB / 0.7729 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/0.77, allocations: 4.88 MB / 0.7777 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000482/0.7705, allocations: 199.5 kB / 0.7779 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003323/0.7709, allocations: 19.95 kB / 0.7779 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.7721, allocations: 135.9 kB / 0.778 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006773/0.7728, allocations: 204.4 kB / 0.7782 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.7729, allocations: 27.94 kB / 0.7782 GB, free: 12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008775/0.7738, allocations: 0.5438 MB / 0.7788 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7738, allocations: 0 / 0.7788 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002204/0.776, allocations: 0.6514 MB / 0.7794 GB, free: 10.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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.01434/0.7904, allocations: 5.621 MB / 0.7849 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01019/0.8006, allocations: 3.565 MB / 0.7884 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.8007, allocations: 4.062 kB / 0.7884 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004337/0.805, allocations: 1.464 MB / 0.7898 GB, free: 40 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009795/0.806, allocations: 75.5 kB / 0.7899 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.8104, allocations: 1.69 MB / 0.7915 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/0.8111, allocations: 1.106 MB / 0.7926 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006671/0.8117, allocations: 132.2 kB / 0.7927 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/0.8122, allocations: 387.3 kB / 0.7931 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of SimCode: time 1.342e-06/0.8122, allocations: 0 / 0.7931 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06807/0.8803, allocations: 36.99 MB / 0.8292 GB, free: 7.672 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.8806, allocations: 179.8 kB / 0.8294 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.042/3.923, allocations: 0 / 0.8294 GB, free: 7.445 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)