Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,fileNamePrefix="OpenIPSL_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.001298/0.001298, 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.366/1.366, allocations: 221.5 MB / 229.6 MB, free: 7.598 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.0008776/0.0008776, allocations: 86.98 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4934/0.4934, allocations: 78.07 MB / 409.3 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.86e-05, allocations: 4 kB / 485 MB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.166, allocations: 69.36 MB / 0.5414 GB, free: 6.797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4731/0.6391, allocations: 97.86 MB / 0.6369 GB, free: 1.605 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.6395, allocations: 75.95 kB / 0.637 GB, free: 1.531 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0624/0.7019, allocations: 24.38 MB / 0.6608 GB, free: 9.211 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.7019, allocations: 0 / 0.6608 GB, free: 9.211 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.598e-05/0.702, allocations: 20 kB / 0.6608 GB, free: 9.191 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.004264/0.7062, allocations: 1.68 MB / 0.6625 GB, free: 7.465 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.7063, allocations: 12.03 kB / 0.6625 GB, free: 7.453 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003131/0.7094, allocations: 0.5449 MB / 0.663 GB, free: 6.906 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.7106, allocations: 0.6952 MB / 0.6637 GB, free: 6.168 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002465/0.7109, allocations: 240.2 kB / 0.6639 GB, free: 5.895 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.711, allocations: 44 kB / 0.664 GB, free: 5.852 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001312/0.7123, allocations: 0.7849 MB / 0.6647 GB, free: 5.066 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.7137, allocations: 0.8056 MB / 0.6655 GB, free: 4.25 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.7137, allocations: 3.984 kB / 0.6655 GB, free: 4.246 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.405e-05/0.7138, allocations: 4 kB / 0.6655 GB, free: 4.242 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.7138, allocations: 16 kB / 0.6656 GB, free: 4.227 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005648/0.7195, allocations: 3.435 MB / 0.6689 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.721, allocations: 1.234 MB / 0.6701 GB, free: 15.28 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007182/0.7218, allocations: 0.5461 MB / 0.6706 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.7219, allocations: 16.73 kB / 0.6707 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.7219, allocations: 43.34 kB / 0.6707 GB, free: 14.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 1.903e-06/0.7219, allocations: 0 / 0.6707 GB, free: 14.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01179/0.7337, allocations: 3.957 MB / 0.6746 GB, free: 10.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.7338, allocations: 85.89 kB / 0.6746 GB, free: 10.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009559/0.7348, allocations: 0.6354 MB / 0.6753 GB, free: 9.938 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.7349, allocations: 25.7 kB / 0.6753 GB, free: 9.906 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.7353, allocations: 465.7 kB / 0.6757 GB, free: 9.445 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.7356, allocations: 307.3 kB / 0.676 GB, free: 9.141 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.7357, allocations: 0 / 0.676 GB, free: 9.141 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.7358, allocations: 341.9 kB / 0.6764 GB, free: 8.801 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006546/0.7364, allocations: 418.6 kB / 0.6768 GB, free: 8.395 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007155/0.7372, allocations: 0.5319 MB / 0.6773 GB, free: 7.828 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006856/0.7379, allocations: 460.3 kB / 0.6777 GB, free: 7.379 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.7379, allocations: 0 / 0.6777 GB, free: 7.379 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0116/0.7495, allocations: 4.094 MB / 0.6817 GB, free: 3.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000301/0.7498, allocations: 0.8837 MB / 0.6826 GB, free: 2.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.7498, allocations: 4 kB / 0.6826 GB, free: 2.316 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005304/0.7551, allocations: 1.685 MB / 0.6842 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/0.7558, allocations: 139.8 kB / 0.6844 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01355/0.7694, allocations: 7.094 MB / 0.6913 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.7708, allocations: 164.2 kB / 0.6914 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.5e-05/0.7709, allocations: 28 kB / 0.6915 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.7709, allocations: 4 kB / 0.6915 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01158/0.7825, allocations: 3.96 MB / 0.6953 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.7825, allocations: 4 kB / 0.6953 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005333/0.7878, allocations: 1.687 MB / 0.697 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/0.7886, allocations: 135.8 kB / 0.6971 GB, free: 3.281 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/0.8025, allocations: 7.105 MB / 0.7041 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.8039, allocations: 155.2 kB / 0.7042 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.023e-05/0.804, allocations: 32.69 kB / 0.7042 GB, free: 11.87 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.0002776/0.8043, allocations: 124.9 kB / 0.7044 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01152/0.8158, allocations: 3.961 MB / 0.7082 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000392/0.8163, allocations: 102.7 kB / 0.7083 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/0.8281, allocations: 4.071 MB / 0.7123 GB, free: 3.586 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.8282, allocations: 8 kB / 0.7123 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.8282, allocations: 0 / 0.7123 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/0.8282, allocations: 12.59 kB / 0.7123 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/0.842, allocations: 5.652 MB / 0.7178 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.842, allocations: 4 kB / 0.7178 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007018/0.8427, allocations: 115.8 kB / 0.718 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005191/0.8479, allocations: 1.667 MB / 0.7196 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.8481, allocations: 0 / 0.7196 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01222/0.8603, allocations: 6.204 MB / 0.7256 GB, free: 5.668 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/0.8604, allocations: 11.91 kB / 0.7257 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/0.8736, allocations: 4.817 MB / 0.7304 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005896/0.8742, allocations: 191.6 kB / 0.7305 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.8744, allocations: 7.984 kB / 0.7305 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.8755, allocations: 127.8 kB / 0.7307 GB, free: 472 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007083/0.8762, allocations: 208.4 kB / 0.7309 GB, free: 264 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.079e-05/0.8763, allocations: 23.94 kB / 0.7309 GB, free: 240 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007404/0.877, allocations: 496.2 kB / 0.7314 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.877, allocations: 0 / 0.7314 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00204/0.8791, allocations: 0.5927 MB / 0.7319 GB, free: 15.14 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.01367/0.8928, allocations: 5.531 MB / 0.7373 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009471/0.9023, allocations: 3.441 MB / 0.7407 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.9023, allocations: 4.125 kB / 0.7407 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004172/0.9065, allocations: 1.432 MB / 0.7421 GB, free: 4.66 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008819/0.9074, allocations: 59.42 kB / 0.7422 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.9111, allocations: 1.621 MB / 0.7437 GB, free: 2.934 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/0.9117, allocations: 1.102 MB / 0.7448 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005897/0.9123, allocations: 140.1 kB / 0.745 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004676/0.9128, allocations: 388.5 kB / 0.7453 GB, free: 1.281 MB / 0.5417 GB Notification: Performance of SimCode: time 9.32e-07/0.9128, allocations: 0 / 0.7453 GB, free: 1.281 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3645/1.277, allocations: 34.46 MB / 0.779 GB, free: 149.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001281/1.277, allocations: 135.6 kB / 0.7791 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.021/4.299, allocations: 0 / 0.7791 GB, free: 148.9 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_AVR.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)