Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.0009188/0.0009188, allocations: 175 kB / 12.73 MB, free: 2.59 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.202/1.202, allocations: 221.4 MB / 234.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008876/0.0008878, allocations: 81.3 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4349/0.4349, allocations: 78.91 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.024e-05/3.026e-05, allocations: 8 kB / 492.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3148, allocations: 69.49 MB / 0.5492 GB, free: 19.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1141/0.429, allocations: 99.49 MB / 0.6464 GB, free: 128 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.4293, allocations: 79.94 kB / 0.6464 GB, free: 48 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06316/0.4924, allocations: 25.47 MB / 0.6713 GB, free: 6.398 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4925, allocations: 0 / 0.6713 GB, free: 6.398 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.272e-05/0.4925, allocations: 20 kB / 0.6713 GB, free: 6.379 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.004268/0.4968, allocations: 1.679 MB / 0.673 GB, free: 4.652 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.4968, allocations: 11.97 kB / 0.673 GB, free: 4.641 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001717/0.497, allocations: 126.5 kB / 0.6731 GB, free: 4.508 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00304/0.5001, allocations: 0.5487 MB / 0.6736 GB, free: 3.957 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.5014, allocations: 0.7146 MB / 0.6743 GB, free: 3.195 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.5017, allocations: 268.2 kB / 0.6746 GB, free: 2.898 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.5018, allocations: 68 kB / 0.6746 GB, free: 2.832 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.5033, allocations: 0.911 MB / 0.6755 GB, free: 1.906 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.5034, allocations: 0 / 0.6755 GB, free: 1.906 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-05/0.5035, allocations: 32 kB / 0.6756 GB, free: 1.875 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.5035, allocations: 16 kB / 0.6756 GB, free: 1.859 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.5048, allocations: 0.8124 MB / 0.6764 GB, free: 1.047 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2784/0.7832, allocations: 3.553 MB / 0.6798 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.7848, allocations: 1.263 MB / 0.6811 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008506/0.7857, allocations: 0.569 MB / 0.6816 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.7858, allocations: 13.95 kB / 0.6817 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.7858, allocations: 49.91 kB / 0.6817 GB, free: 103.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 2.695e-06/0.7858, allocations: 1.125 kB / 0.6817 GB, free: 103.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01272/0.7986, allocations: 4.034 MB / 0.6856 GB, free: 103.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.7986, allocations: 86.67 kB / 0.6857 GB, free: 103.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008594/0.7995, allocations: 0.6801 MB / 0.6864 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.7997, allocations: 41.23 kB / 0.6864 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.7999, allocations: 462.4 kB / 0.6869 GB, free: 103 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.8001, allocations: 321.6 kB / 0.6872 GB, free: 102.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.8002, allocations: 19.16 kB / 0.6872 GB, free: 102.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.639e-05/0.8003, allocations: 336.8 kB / 0.6875 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006223/0.8009, allocations: 445.6 kB / 0.6879 GB, free: 102.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006627/0.8016, allocations: 0.5444 MB / 0.6885 GB, free: 102.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000647/0.8022, allocations: 484 kB / 0.6889 GB, free: 102.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.8022, allocations: 3.844 kB / 0.6889 GB, free: 102.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01105/0.8133, allocations: 4.202 MB / 0.693 GB, free: 101.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.8135, allocations: 0.8776 MB / 0.6939 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.8135, allocations: 3.938 kB / 0.6939 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005011/0.8185, allocations: 1.733 MB / 0.6956 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/0.8192, allocations: 141.5 kB / 0.6957 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/0.8321, allocations: 7.285 MB / 0.7028 GB, free: 96.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.8335, allocations: 186.8 kB / 0.703 GB, free: 96.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.901e-05/0.8336, allocations: 27.03 kB / 0.703 GB, free: 96.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.8336, allocations: 6.625 kB / 0.703 GB, free: 96.71 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01066/0.8443, allocations: 4.079 MB / 0.707 GB, free: 95.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.8443, allocations: 7.438 kB / 0.707 GB, free: 95.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004882/0.8492, allocations: 1.729 MB / 0.7087 GB, free: 94.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/0.8499, allocations: 139.2 kB / 0.7089 GB, free: 93.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.8621, allocations: 7.272 MB / 0.716 GB, free: 87.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.8634, allocations: 174.9 kB / 0.7161 GB, free: 87.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.278e-05/0.8635, allocations: 31.31 kB / 0.7162 GB, free: 87.22 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 (73): * Single equations (assignments): 72 * 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.000224/0.8637, allocations: 151.5 kB / 0.7163 GB, free: 87.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.8639, allocations: 118.1 kB / 0.7164 GB, free: 86.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/0.8747, allocations: 4.158 MB / 0.7205 GB, free: 83.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.8747, allocations: 8 kB / 0.7205 GB, free: 83.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.8747, allocations: 0 / 0.7205 GB, free: 83.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.8748, allocations: 10.7 kB / 0.7205 GB, free: 83.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/0.8871, allocations: 5.764 MB / 0.7261 GB, free: 79.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.8871, allocations: 0 / 0.7261 GB, free: 79.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/0.8877, allocations: 114.5 kB / 0.7262 GB, free: 79.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004617/0.8924, allocations: 1.677 MB / 0.7279 GB, free: 77.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/0.8925, allocations: 27.94 kB / 0.7279 GB, free: 77.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/0.9035, allocations: 6.313 MB / 0.7341 GB, free: 70.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.9035, allocations: 0 / 0.7341 GB, free: 70.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/0.9154, allocations: 4.907 MB / 0.7389 GB, free: 65.97 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/0.9157, allocations: 207.5 kB / 0.7391 GB, free: 65.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.9159, allocations: 16 kB / 0.7391 GB, free: 65.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009645/0.9168, allocations: 139.9 kB / 0.7392 GB, free: 65.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005413/0.9174, allocations: 204.4 kB / 0.7394 GB, free: 65.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.515e-05/0.9175, allocations: 31.92 kB / 0.7394 GB, free: 65.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000559/0.918, allocations: 0.528 MB / 0.7399 GB, free: 64.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.918, allocations: 0 / 0.7399 GB, free: 64.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001471/0.9195, allocations: 0.6494 MB / 0.7406 GB, free: 64.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1,order4_Inputs_Outputs.delta,order4_Inputs_Outputs.w,order4_Inputs_Outputs.e1q,order4_Inputs_Outputs.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 56 * 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.01196/0.9315, allocations: 5.652 MB / 0.7461 GB, free: 58.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008367/0.9399, allocations: 3.559 MB / 0.7496 GB, free: 54.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.9399, allocations: 0 / 0.7496 GB, free: 54.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003685/0.9436, allocations: 1.479 MB / 0.751 GB, free: 53.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006942/0.9443, allocations: 82.92 kB / 0.7511 GB, free: 53.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.9476, allocations: 1.752 MB / 0.7528 GB, free: 51.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.9481, allocations: 1.099 MB / 0.7539 GB, free: 50.44 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005439/0.9486, allocations: 143.4 kB / 0.754 GB, free: 50.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/0.949, allocations: 383.3 kB / 0.7544 GB, free: 49.93 MB / 490.7 MB Notification: Performance of SimCode: time 8.81e-07/0.949, allocations: 0 / 0.7544 GB, free: 49.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04925/0.9983, allocations: 36.97 MB / 0.7905 GB, free: 13.38 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/0.9984, allocations: 168.7 kB / 0.7906 GB, free: 13.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/3.881, allocations: 3.938 kB / 0.7907 GB, free: 13.16 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)