Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.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_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 221.5 MB / 229.6 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009499/0.0009499, allocations: 92.67 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5043/0.5043, allocations: 78.93 MB / 410.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.667e-05/2.687e-05, allocations: 4 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1528, allocations: 69.52 MB / 0.5425 GB, free: 5.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.457/0.6099, allocations: 98.44 MB / 0.6387 GB, free: 15.56 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.6102, allocations: 78.47 kB / 0.6387 GB, free: 15.49 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06813/0.6784, allocations: 24.67 MB / 0.6628 GB, free: 6.883 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6784, allocations: 0 / 0.6628 GB, free: 6.883 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.507e-05/0.6785, allocations: 16 kB / 0.6628 GB, free: 6.867 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004948/0.6834, allocations: 1.68 MB / 0.6645 GB, free: 5.141 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.6835, allocations: 8.031 kB / 0.6645 GB, free: 5.133 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003447/0.687, allocations: 0.541 MB / 0.665 GB, free: 4.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.6886, allocations: 0.7069 MB / 0.6657 GB, free: 3.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.6889, allocations: 236.2 kB / 0.6659 GB, free: 3.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.689, allocations: 44 kB / 0.666 GB, free: 3.527 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001438/0.6905, allocations: 0.7772 MB / 0.6667 GB, free: 2.75 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.6919, allocations: 0.8095 MB / 0.6675 GB, free: 1.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.6919, allocations: 0 / 0.6675 GB, free: 1.93 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/0.692, allocations: 4 kB / 0.6675 GB, free: 1.926 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.692, allocations: 21.03 kB / 0.6675 GB, free: 1.906 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006481/0.6985, allocations: 3.442 MB / 0.6709 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.7003, allocations: 1.233 MB / 0.6721 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007951/0.7012, allocations: 0.5477 MB / 0.6726 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.7013, allocations: 16.72 kB / 0.6727 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.7013, allocations: 43.34 kB / 0.6727 GB, free: 12.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.707e-06/0.7013, allocations: 0 / 0.6727 GB, free: 12.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01233/0.7137, allocations: 3.957 MB / 0.6766 GB, free: 8.367 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.7138, allocations: 89.89 kB / 0.6767 GB, free: 8.262 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.7148, allocations: 0.6325 MB / 0.6773 GB, free: 7.609 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00018/0.715, allocations: 25.7 kB / 0.6773 GB, free: 7.578 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/0.7154, allocations: 464.4 kB / 0.6777 GB, free: 7.117 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000338/0.7157, allocations: 307.3 kB / 0.678 GB, free: 6.812 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.7158, allocations: 4 kB / 0.678 GB, free: 6.809 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.7159, allocations: 337.9 kB / 0.6784 GB, free: 6.473 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000689/0.7166, allocations: 422.6 kB / 0.6788 GB, free: 6.062 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007689/0.7174, allocations: 0.528 MB / 0.6793 GB, free: 5.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007455/0.7182, allocations: 460.4 kB / 0.6797 GB, free: 5.051 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.7182, allocations: 4.031 kB / 0.6797 GB, free: 5.047 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01233/0.7305, allocations: 4.09 MB / 0.6837 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004066/0.731, allocations: 0.8766 MB / 0.6846 GB, free: 0 / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.731, allocations: 2.75 kB / 0.6846 GB, free: 0 / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00556/0.7365, allocations: 1.697 MB / 0.6862 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007074/0.7373, allocations: 135.8 kB / 0.6864 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/0.7514, allocations: 7.087 MB / 0.6933 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.7528, allocations: 167.2 kB / 0.6934 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.484e-05/0.7529, allocations: 28.78 kB / 0.6935 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.7529, allocations: 6.094 kB / 0.6935 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01196/0.7649, allocations: 3.964 MB / 0.6973 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.7649, allocations: 0 / 0.6973 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005474/0.7704, allocations: 1.695 MB / 0.699 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000715/0.7711, allocations: 131.8 kB / 0.6991 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/0.7853, allocations: 7.103 MB / 0.7061 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.7867, allocations: 159.2 kB / 0.7062 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.662e-05/0.7868, allocations: 31.92 kB / 0.7062 GB, free: 9.539 MB / 0.5105 GB 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.0002676/0.787, allocations: 121.8 kB / 0.7064 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01183/0.7989, allocations: 3.966 MB / 0.7102 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002861/0.7992, allocations: 106.7 kB / 0.7103 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/0.8114, allocations: 4.066 MB / 0.7143 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.8115, allocations: 8 kB / 0.7143 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.8115, allocations: 0 / 0.7143 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/0.8115, allocations: 7.938 kB / 0.7143 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.826, allocations: 5.654 MB / 0.7198 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.8261, allocations: 0 / 0.7198 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000696/0.8268, allocations: 115.8 kB / 0.72 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005411/0.8322, allocations: 1.667 MB / 0.7216 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/0.8324, allocations: 7.984 kB / 0.7216 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.8454, allocations: 6.211 MB / 0.7277 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.8454, allocations: 0 / 0.7277 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/0.8593, allocations: 4.814 MB / 0.7324 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004985/0.8598, allocations: 193.6 kB / 0.7325 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.86, allocations: 4 kB / 0.7325 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.8611, allocations: 127.8 kB / 0.7327 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006475/0.8618, allocations: 213.5 kB / 0.7329 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.262e-05/0.8618, allocations: 27.98 kB / 0.7329 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007154/0.8626, allocations: 496.1 kB / 0.7334 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8626, allocations: 0 / 0.7334 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001904/0.8645, allocations: 0.5888 MB / 0.7339 GB, free: 12.82 MB / 0.5417 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.01445/0.8789, allocations: 5.531 MB / 0.7393 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01025/0.8892, allocations: 3.431 MB / 0.7427 GB, free: 3.781 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.8893, allocations: 4.188 kB / 0.7427 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004408/0.8937, allocations: 1.431 MB / 0.7441 GB, free: 2.34 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008986/0.8946, allocations: 59.42 kB / 0.7442 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/0.8985, allocations: 1.633 MB / 0.7457 GB, free: 0.6016 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/0.8993, allocations: 1.102 MB / 0.7468 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000613/0.8999, allocations: 128.1 kB / 0.7469 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005145/0.9005, allocations: 391.3 kB / 0.7473 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of SimCode: time 1.042e-06/0.9005, allocations: 0 / 0.7473 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3569/1.257, allocations: 34.46 MB / 0.781 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/1.258, allocations: 132.2 kB / 0.7811 GB, free: 146 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.339/4.596, allocations: 0 / 0.7811 GB, free: 146 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)