Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_release_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.007542/0.007542, allocations: 170.8 kB / 15.11 MB, free: 5.984 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.427/1.427, allocations: 223.2 MB / 239 MB, free: 88 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.000845/0.0008449, allocations: 94.17 kB / 290.2 MB, free: 4.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5462/0.5462, allocations: 78.59 MB / 419.9 MB, free: 36.36 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003868, allocations: 8 kB / 499.9 MB, free: 7.191 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1578, allocations: 69.35 MB / 0.5559 GB, free: 1.773 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4636/0.6215, allocations: 98.59 MB / 0.6521 GB, free: 3.578 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.6219, allocations: 87.41 kB / 0.6522 GB, free: 3.531 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0772/0.6991, allocations: 24.76 MB / 0.6764 GB, free: 11.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6991, allocations: 4 kB / 0.6764 GB, free: 11.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.667e-05/0.6992, allocations: 16 kB / 0.6764 GB, free: 11.38 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.004951/0.7042, allocations: 1.876 MB / 0.6783 GB, free: 9.449 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.7042, allocations: 8.031 kB / 0.6783 GB, free: 9.441 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001963/0.7044, allocations: 126.5 kB / 0.6784 GB, free: 9.309 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003155/0.7076, allocations: 0.5487 MB / 0.6789 GB, free: 8.758 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.709, allocations: 0.7146 MB / 0.6796 GB, free: 8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.7093, allocations: 266 kB / 0.6799 GB, free: 7.707 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.7095, allocations: 71.98 kB / 0.6799 GB, free: 7.637 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.7117, allocations: 1.161 MB / 0.6811 GB, free: 6.461 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.7117, allocations: 0 / 0.6811 GB, free: 6.461 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.572e-05/0.7118, allocations: 32 kB / 0.6811 GB, free: 6.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.7119, allocations: 17.22 kB / 0.6811 GB, free: 6.414 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.7141, allocations: 1.117 MB / 0.6822 GB, free: 5.297 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006198/0.7203, allocations: 3.562 MB / 0.6857 GB, free: 1.562 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/0.7229, allocations: 1.532 MB / 0.6872 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.905e-05/0.723, allocations: 13 kB / 0.6872 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.7231, allocations: 39.56 kB / 0.6872 GB, free: 15.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.707e-06/0.7231, allocations: 4 kB / 0.6872 GB, free: 15.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.02685/0.75, allocations: 8.134 MB / 0.6952 GB, free: 7.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/0.7501, allocations: 94.05 kB / 0.6953 GB, free: 7.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.7512, allocations: 0.6984 MB / 0.696 GB, free: 6.852 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.7514, allocations: 39.3 kB / 0.696 GB, free: 6.809 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/0.7517, allocations: 464.4 kB / 0.6964 GB, free: 6.348 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000322/0.752, allocations: 319.4 kB / 0.6967 GB, free: 6.031 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.7521, allocations: 16 kB / 0.6968 GB, free: 6.016 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.7522, allocations: 337.9 kB / 0.6971 GB, free: 5.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.7536, allocations: 0.6774 MB / 0.6977 GB, free: 5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.7551, allocations: 0.7891 MB / 0.6985 GB, free: 4.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.7565, allocations: 0.7182 MB / 0.6992 GB, free: 3.465 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7565, allocations: 4 kB / 0.6992 GB, free: 3.461 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01385/0.7704, allocations: 4.864 MB / 0.704 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00036/0.7708, allocations: 0.873 MB / 0.7048 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.7708, allocations: 4 kB / 0.7048 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006763/0.7776, allocations: 2.126 MB / 0.7069 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008714/0.7785, allocations: 139.8 kB / 0.707 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02228/0.8008, allocations: 10.01 MB / 0.7168 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.8023, allocations: 183.2 kB / 0.717 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-05/0.8024, allocations: 32 kB / 0.717 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.8024, allocations: 4 kB / 0.717 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01385/0.8163, allocations: 4.711 MB / 0.7216 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.8163, allocations: 4.875 kB / 0.7216 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006745/0.8231, allocations: 2.117 MB / 0.7237 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008122/0.8239, allocations: 131.8 kB / 0.7238 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02424/0.8482, allocations: 10.01 MB / 0.7336 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/0.8503, allocations: 183.2 kB / 0.7338 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003921/0.8507, allocations: 27.98 kB / 0.7338 GB, free: 15.7 MB / 0.5261 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 () * 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.001293/0.8521, allocations: 297 kB / 0.7341 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006246/0.8527, allocations: 106.7 kB / 0.7342 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/0.8675, allocations: 4.837 MB / 0.7389 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.8676, allocations: 8 kB / 0.7389 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8676, allocations: 0 / 0.7389 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.302e-05/0.8676, allocations: 3.984 kB / 0.7389 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/0.8859, allocations: 6.504 MB / 0.7453 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.886, allocations: 5.219 kB / 0.7453 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007343/0.8867, allocations: 111.8 kB / 0.7454 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006322/0.8931, allocations: 2.057 MB / 0.7474 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/0.8933, allocations: 23.98 kB / 0.7474 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02055/0.9139, allocations: 8.649 MB / 0.7559 GB, free: 8.789 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.9139, allocations: 4.25 kB / 0.7559 GB, free: 8.789 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01669/0.9306, allocations: 5.836 MB / 0.7616 GB, free: 2.914 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005562/0.9312, allocations: 195.6 kB / 0.7617 GB, free: 2.703 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004401/0.9317, allocations: 16 kB / 0.7618 GB, free: 2.688 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.9331, allocations: 139.9 kB / 0.7619 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008312/0.934, allocations: 212.6 kB / 0.7621 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/0.9342, allocations: 20 kB / 0.7621 GB, free: 2.324 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00109/0.9353, allocations: 0.5471 MB / 0.7626 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9353, allocations: 2.156 kB / 0.7626 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002906/0.9382, allocations: 0.6514 MB / 0.7633 GB, free: 1.113 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 () * 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.017/0.9552, allocations: 6.549 MB / 0.7697 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01221/0.9675, allocations: 4.287 MB / 0.7739 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.9676, allocations: 0 / 0.7739 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005222/0.9728, allocations: 1.741 MB / 0.7756 GB, free: 4.461 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.9739, allocations: 92.31 kB / 0.7757 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006849/0.9808, allocations: 4.215 MB / 0.7798 GB, free: 56 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009234/0.9818, allocations: 1.1 MB / 0.7808 GB, free: 14.92 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000496/0.9823, allocations: 77.42 kB / 0.7809 GB, free: 14.84 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000642/0.9829, allocations: 399.2 kB / 0.7813 GB, free: 14.46 MB / 0.573 GB Notification: Performance of SimCode: time 5.01e-07/0.983, allocations: 0 / 0.7813 GB, free: 14.46 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3416/1.325, allocations: 35.05 MB / 0.8155 GB, free: 156.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/1.325, allocations: 202.7 kB / 0.8157 GB, free: 156 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.899/4.224, allocations: 0 / 0.8157 GB, free: 156 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)