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.0009518/0.0009518, allocations: 180.9 kB / 7.651 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.559/1.559, allocations: 221.5 MB / 229.6 MB, free: 7.547 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.0008573/0.0008572, allocations: 90.23 kB / 280.5 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4845/0.4845, allocations: 78.12 MB / 409.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.638e-05/1.639e-05, allocations: 3.938 kB / 485 MB, free: 12.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1434, allocations: 69.36 MB / 0.5414 GB, free: 6.879 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4689/0.6123, allocations: 97.86 MB / 0.637 GB, free: 1.77 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.6126, allocations: 75.95 kB / 0.637 GB, free: 1.695 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06502/0.6777, allocations: 24.38 MB / 0.6609 GB, free: 9.395 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6777, allocations: 0 / 0.6609 GB, free: 9.395 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.458e-05/0.6778, allocations: 20 kB / 0.6609 GB, free: 9.375 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.004589/0.6824, allocations: 1.676 MB / 0.6625 GB, free: 7.652 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.6824, allocations: 12.03 kB / 0.6625 GB, free: 7.641 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003438/0.6859, allocations: 0.541 MB / 0.663 GB, free: 7.098 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.6876, allocations: 0.7069 MB / 0.6637 GB, free: 6.348 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002992/0.6879, allocations: 232.2 kB / 0.664 GB, free: 6.082 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.688, allocations: 49.03 kB / 0.664 GB, free: 6.035 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001423/0.6895, allocations: 0.7849 MB / 0.6648 GB, free: 5.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.6909, allocations: 0.8056 MB / 0.6656 GB, free: 4.434 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.6909, allocations: 0 / 0.6656 GB, free: 4.434 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.009e-05/0.691, allocations: 0 / 0.6656 GB, free: 4.434 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.691, allocations: 16 kB / 0.6656 GB, free: 4.418 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006331/0.6973, allocations: 3.442 MB / 0.6689 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.6991, allocations: 1.238 MB / 0.6701 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007683/0.6998, allocations: 0.5391 MB / 0.6707 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.7, allocations: 25.36 kB / 0.6707 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.7, allocations: 43.34 kB / 0.6707 GB, free: 14.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.186e-06/0.7, allocations: 0 / 0.6707 GB, free: 14.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01219/0.7122, allocations: 3.953 MB / 0.6746 GB, free: 10.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.7123, allocations: 89.89 kB / 0.6747 GB, free: 10.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.7134, allocations: 0.6354 MB / 0.6753 GB, free: 10.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002423/0.7136, allocations: 25.7 kB / 0.6753 GB, free: 10.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.7139, allocations: 457.2 kB / 0.6758 GB, free: 9.633 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/0.7143, allocations: 311.3 kB / 0.6761 GB, free: 9.324 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.45e-05/0.7143, allocations: 0 / 0.6761 GB, free: 9.324 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.7145, allocations: 341.9 kB / 0.6764 GB, free: 8.984 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000685/0.7152, allocations: 418.6 kB / 0.6768 GB, free: 8.578 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007754/0.7159, allocations: 0.528 MB / 0.6773 GB, free: 8.016 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007155/0.7167, allocations: 464.4 kB / 0.6777 GB, free: 7.562 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.7167, allocations: 0 / 0.6777 GB, free: 7.562 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01219/0.7289, allocations: 4.094 MB / 0.6817 GB, free: 3.453 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004054/0.7293, allocations: 0.8732 MB / 0.6826 GB, free: 2.516 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.7293, allocations: 8 kB / 0.6826 GB, free: 2.508 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005558/0.7349, allocations: 1.689 MB / 0.6843 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007522/0.7357, allocations: 139.8 kB / 0.6844 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/0.7503, allocations: 7.094 MB / 0.6913 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.7518, allocations: 167.2 kB / 0.6915 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-05/0.7519, allocations: 28 kB / 0.6915 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.7519, allocations: 4 kB / 0.6915 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01192/0.7638, allocations: 3.953 MB / 0.6954 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.7639, allocations: 4 kB / 0.6954 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00532/0.7692, allocations: 1.695 MB / 0.697 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006831/0.7699, allocations: 131.8 kB / 0.6971 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/0.784, allocations: 7.111 MB / 0.7041 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.7854, allocations: 159.2 kB / 0.7042 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-05/0.7855, allocations: 28 kB / 0.7043 GB, free: 12.05 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.0002631/0.7857, allocations: 131.3 kB / 0.7044 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01176/0.7975, allocations: 3.957 MB / 0.7083 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007254/0.7983, allocations: 106.7 kB / 0.7084 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/0.8105, allocations: 4.055 MB / 0.7123 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.8106, allocations: 8 kB / 0.7123 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8106, allocations: 0 / 0.7123 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.426e-05/0.8106, allocations: 11.94 kB / 0.7123 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/0.825, allocations: 5.648 MB / 0.7179 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.825, allocations: 7.984 kB / 0.7179 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007299/0.8258, allocations: 115.9 kB / 0.718 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00526/0.831, allocations: 1.663 MB / 0.7196 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002171/0.8313, allocations: 7.984 kB / 0.7196 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/0.8445, allocations: 6.211 MB / 0.7257 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/0.8445, allocations: 4 kB / 0.7257 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/0.8582, allocations: 4.817 MB / 0.7304 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003791/0.8586, allocations: 191.6 kB / 0.7306 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.8588, allocations: 4 kB / 0.7306 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.8598, allocations: 135.8 kB / 0.7307 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005674/0.8604, allocations: 200.4 kB / 0.7309 GB, free: 460 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-05/0.8605, allocations: 27.94 kB / 0.7309 GB, free: 432 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006211/0.8611, allocations: 0.4883 MB / 0.7314 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8611, allocations: 0 / 0.7314 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001703/0.8628, allocations: 0.5888 MB / 0.732 GB, free: 15.33 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.01359/0.8764, allocations: 5.533 MB / 0.7374 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00937/0.8858, allocations: 3.445 MB / 0.7407 GB, free: 6.289 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.8859, allocations: 0 / 0.7407 GB, free: 6.289 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004205/0.8901, allocations: 1.43 MB / 0.7421 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008179/0.8909, allocations: 64.08 kB / 0.7422 GB, free: 4.789 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.8944, allocations: 1.63 MB / 0.7438 GB, free: 3.117 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/0.895, allocations: 1.099 MB / 0.7449 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005889/0.8956, allocations: 136.1 kB / 0.745 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/0.8961, allocations: 387.3 kB / 0.7454 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of SimCode: time 6.01e-07/0.8961, allocations: 0 / 0.7454 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3578/1.254, allocations: 34.47 MB / 0.779 GB, free: 149.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001312/1.254, allocations: 137.9 kB / 0.7792 GB, free: 149 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.027/4.281, allocations: 0 / 0.7792 GB, free: 149 MB / 0.5573 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)