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.005651/0.005651, allocations: 170.4 kB / 15.11 MB, free: 6.039 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.41/1.41, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0009338/0.0009337, allocations: 90.88 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07576/0.07576, allocations: 12.2 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4759/0.4759, allocations: 78.53 MB / 459.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005217/0.0005217, allocations: 20.12 kB / 0.528 GB, free: 35.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1347, allocations: 69.24 MB / 0.5956 GB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.2567, allocations: 100.1 MB / 0.6934 GB, free: 36 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.2501/0.5068, allocations: 83.73 kB / 0.6935 GB, free: 100.8 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06042/0.5673, allocations: 24.03 MB / 0.717 GB, free: 93.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5673, allocations: 0 / 0.717 GB, free: 93.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.961e-05/0.5674, allocations: 20.22 kB / 0.717 GB, free: 93.39 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.004982/0.5724, allocations: 1.882 MB / 0.7188 GB, free: 92.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.5725, allocations: 15.67 kB / 0.7188 GB, free: 92.14 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003306/0.5728, allocations: 125.5 kB / 0.7189 GB, free: 92.03 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003275/0.5761, allocations: 0.5488 MB / 0.7195 GB, free: 91.79 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.5777, allocations: 0.7109 MB / 0.7202 GB, free: 91.19 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.578, allocations: 264.9 kB / 0.7204 GB, free: 90.96 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.5782, allocations: 73.91 kB / 0.7205 GB, free: 90.93 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.5803, allocations: 1.152 MB / 0.7216 GB, free: 90.03 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.5803, allocations: 7.938 kB / 0.7216 GB, free: 90.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/0.5804, allocations: 28 kB / 0.7217 GB, free: 90 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.5804, allocations: 16 kB / 0.7217 GB, free: 89.98 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.5825, allocations: 1.113 MB / 0.7228 GB, free: 88.86 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005447/0.588, allocations: 3.582 MB / 0.7263 GB, free: 85.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.59, allocations: 1.513 MB / 0.7277 GB, free: 83.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.435e-05/0.5901, allocations: 20.97 kB / 0.7278 GB, free: 83.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.5901, allocations: 43.56 kB / 0.7278 GB, free: 83.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=89): time 2.625e-06/0.5901, allocations: 0 / 0.7278 GB, free: 83.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=89): time 0.0243/0.6144, allocations: 8.126 MB / 0.7357 GB, free: 75.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.6145, allocations: 86.11 kB / 0.7358 GB, free: 75.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.616, allocations: 0.7025 MB / 0.7365 GB, free: 74.42 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002874/0.6163, allocations: 45.69 kB / 0.7365 GB, free: 74.37 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.6166, allocations: 468.5 kB / 0.737 GB, free: 73.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005815/0.6172, allocations: 319.2 kB / 0.7373 GB, free: 73.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.6174, allocations: 24 kB / 0.7373 GB, free: 73.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.6175, allocations: 345.9 kB / 0.7377 GB, free: 73.22 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.6191, allocations: 0.6735 MB / 0.7383 GB, free: 72.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.6205, allocations: 0.793 MB / 0.7391 GB, free: 71.72 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.6219, allocations: 0.7136 MB / 0.7398 GB, free: 71.01 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.6219, allocations: 0 / 0.7398 GB, free: 71.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01261/0.6345, allocations: 4.856 MB / 0.7445 GB, free: 66.14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000189/0.6347, allocations: 0.8769 MB / 0.7454 GB, free: 65.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.6347, allocations: 8 kB / 0.7454 GB, free: 65.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005983/0.6407, allocations: 2.115 MB / 0.7475 GB, free: 63.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007537/0.6415, allocations: 135.8 kB / 0.7476 GB, free: 62.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01865/0.6601, allocations: 10.02 MB / 0.7574 GB, free: 52.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.6615, allocations: 183.2 kB / 0.7575 GB, free: 52.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.6616, allocations: 31.98 kB / 0.7576 GB, free: 52.56 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.6616, allocations: 4 kB / 0.7576 GB, free: 52.56 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.012/0.6736, allocations: 4.711 MB / 0.7622 GB, free: 47.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.6737, allocations: 4 kB / 0.7622 GB, free: 47.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005678/0.6794, allocations: 2.116 MB / 0.7643 GB, free: 45.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006926/0.6801, allocations: 135.8 kB / 0.7644 GB, free: 45.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01859/0.6987, allocations: 10.01 MB / 0.7742 GB, free: 35.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.7001, allocations: 171.3 kB / 0.7743 GB, free: 35.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.7002, allocations: 32 kB / 0.7743 GB, free: 35.24 MB / 474.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 () * Number of clocked 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.0005721/0.7008, allocations: 301 kB / 0.7746 GB, free: 34.93 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/0.7011, allocations: 106.7 kB / 0.7747 GB, free: 34.83 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/0.7132, allocations: 4.837 MB / 0.7795 GB, free: 29.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.7132, allocations: 8 kB / 0.7795 GB, free: 29.97 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.7132, allocations: 3.938 kB / 0.7795 GB, free: 29.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.7133, allocations: 3.984 kB / 0.7795 GB, free: 29.96 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/0.7269, allocations: 6.5 MB / 0.7858 GB, free: 23.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.7269, allocations: 3.938 kB / 0.7858 GB, free: 23.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/0.7275, allocations: 115.9 kB / 0.7859 GB, free: 23.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005336/0.7328, allocations: 2.061 MB / 0.7879 GB, free: 21.13 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.643e-05/0.7329, allocations: 16 kB / 0.788 GB, free: 21.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01652/0.7495, allocations: 8.666 MB / 0.7964 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7495, allocations: 7.984 kB / 0.7964 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/0.7633, allocations: 5.821 MB / 0.8021 GB, free: 6.438 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005334/0.7639, allocations: 191.6 kB / 0.8023 GB, free: 6.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/0.7642, allocations: 19.95 kB / 0.8023 GB, free: 6.211 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.7654, allocations: 143.9 kB / 0.8025 GB, free: 6.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006239/0.766, allocations: 200.6 kB / 0.8026 GB, free: 5.875 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.174e-05/0.7661, allocations: 23.98 kB / 0.8027 GB, free: 5.852 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008024/0.7669, allocations: 0.5473 MB / 0.8032 GB, free: 5.293 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.767, allocations: 0 / 0.8032 GB, free: 5.293 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002199/0.7692, allocations: 0.6475 MB / 0.8038 GB, free: 4.645 MB / 474.7 MB 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 () * Number of clocked 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.01487/0.784, allocations: 6.561 MB / 0.8102 GB, free: 14.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01453/0.7986, allocations: 4.295 MB / 0.8144 GB, free: 9.715 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.7987, allocations: 0 / 0.8144 GB, free: 9.715 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00573/0.8044, allocations: 1.74 MB / 0.8161 GB, free: 7.961 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007695/0.8052, allocations: 75.42 kB / 0.8162 GB, free: 7.883 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004959/0.8102, allocations: 4.225 MB / 0.8203 GB, free: 3.559 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000673/0.8108, allocations: 1.096 MB / 0.8214 GB, free: 2.434 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003871/0.8112, allocations: 81.42 kB / 0.8215 GB, free: 2.352 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004976/0.8117, allocations: 399.2 kB / 0.8219 GB, free: 1.961 MB / 490.7 MB Notification: Performance of SimCode: time 2.044e-06/0.8118, allocations: 4 kB / 0.8219 GB, free: 1.957 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05835/0.8701, allocations: 35.07 MB / 0.8561 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.8704, allocations: 201.8 kB / 0.8563 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/3.633, allocations: 64 / 0.8563 GB, free: 14.79 MB / 0.5261 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)