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.001247/0.001247, 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.343/1.343, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.0008365/0.0008365, allocations: 92.84 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5102/0.5102, allocations: 78.94 MB / 410.2 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.911e-05/2.899e-05, allocations: 4 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1587, allocations: 69.51 MB / 0.5425 GB, free: 5.832 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4675/0.6263, allocations: 98.81 MB / 0.639 GB, free: 15.18 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/0.6267, allocations: 79.95 kB / 0.6391 GB, free: 15.1 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07/0.6967, allocations: 25.16 MB / 0.6637 GB, free: 6.023 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.6968, allocations: 3.938 kB / 0.6637 GB, free: 6.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001019/0.6969, allocations: 16 kB / 0.6637 GB, free: 6.004 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.005605/0.7025, allocations: 1.68 MB / 0.6653 GB, free: 4.277 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.7026, allocations: 8.031 kB / 0.6653 GB, free: 4.27 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00367/0.7063, allocations: 0.5487 MB / 0.6659 GB, free: 3.719 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.7084, allocations: 0.7108 MB / 0.6666 GB, free: 2.965 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/0.7088, allocations: 240.2 kB / 0.6668 GB, free: 2.691 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003274/0.7092, allocations: 44 kB / 0.6668 GB, free: 2.648 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001901/0.7111, allocations: 0.7733 MB / 0.6676 GB, free: 1.875 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.7129, allocations: 0.8172 MB / 0.6684 GB, free: 1.047 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.7129, allocations: 0 / 0.6684 GB, free: 1.047 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.939e-05/0.713, allocations: 0 / 0.6684 GB, free: 1.047 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.7131, allocations: 20 kB / 0.6684 GB, free: 1.027 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007798/0.7209, allocations: 3.42 MB / 0.6717 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.7227, allocations: 1.23 MB / 0.6729 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008436/0.7236, allocations: 0.5555 MB / 0.6735 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.7237, allocations: 8.781 kB / 0.6735 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.7238, allocations: 40.38 kB / 0.6735 GB, free: 11.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 6.422e-06/0.7238, allocations: 0 / 0.6735 GB, free: 11.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01216/0.7359, allocations: 3.972 MB / 0.6774 GB, free: 7.516 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.7361, allocations: 85.89 kB / 0.6775 GB, free: 7.414 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.7374, allocations: 0.6352 MB / 0.6781 GB, free: 6.758 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002714/0.7377, allocations: 25.7 kB / 0.6781 GB, free: 6.727 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/0.7382, allocations: 460.4 kB / 0.6786 GB, free: 6.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005274/0.7387, allocations: 311.3 kB / 0.6789 GB, free: 5.961 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-05/0.7388, allocations: 0 / 0.6789 GB, free: 5.961 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.739, allocations: 349.8 kB / 0.6792 GB, free: 5.613 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000802/0.7398, allocations: 426.6 kB / 0.6796 GB, free: 5.199 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008816/0.7407, allocations: 0.5298 MB / 0.6801 GB, free: 4.633 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000814/0.7415, allocations: 466.3 kB / 0.6806 GB, free: 4.184 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.7415, allocations: 0 / 0.6806 GB, free: 4.184 MB / 490.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01242/0.754, allocations: 4.118 MB / 0.6846 GB, free: 52 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004618/0.7545, allocations: 0.8823 MB / 0.6855 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.372e-05/0.7546, allocations: 4 kB / 0.6855 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005922/0.7605, allocations: 1.681 MB / 0.6871 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008366/0.7614, allocations: 143.8 kB / 0.6872 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01584/0.7773, allocations: 7.087 MB / 0.6942 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.7791, allocations: 163.3 kB / 0.6943 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/0.7795, allocations: 31.98 kB / 0.6943 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.7795, allocations: 4 kB / 0.6944 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01256/0.792, allocations: 3.985 MB / 0.6982 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-05/0.7922, allocations: 7.938 kB / 0.6983 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005912/0.7981, allocations: 1.676 MB / 0.6999 GB, free: 196 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007711/0.7989, allocations: 135.8 kB / 0.7 GB, free: 60 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01571/0.8147, allocations: 7.094 MB / 0.7069 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.8163, allocations: 163.2 kB / 0.7071 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/0.8166, allocations: 25.25 kB / 0.7071 GB, free: 8.652 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 (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.0004108/0.817, allocations: 125.8 kB / 0.7072 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01249/0.8296, allocations: 3.976 MB / 0.7111 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006783/0.8303, allocations: 106.7 kB / 0.7112 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/0.8434, allocations: 4.067 MB / 0.7152 GB, free: 352 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.405e-05/0.8435, allocations: 8 kB / 0.7152 GB, free: 344 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.8435, allocations: 2.5 kB / 0.7152 GB, free: 344 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.926e-05/0.8435, allocations: 3.984 kB / 0.7152 GB, free: 340 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01671/0.8603, allocations: 5.604 MB / 0.7207 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.8603, allocations: 1.312 kB / 0.7207 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007779/0.8611, allocations: 119.9 kB / 0.7208 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005144/0.8663, allocations: 1.659 MB / 0.7224 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000235/0.8666, allocations: 0 / 0.7224 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/0.8794, allocations: 6.192 MB / 0.7285 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.8794, allocations: 0 / 0.7285 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/0.8931, allocations: 4.835 MB / 0.7332 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005505/0.8937, allocations: 203.5 kB / 0.7334 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004278/0.8942, allocations: 1.688 kB / 0.7334 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.8955, allocations: 123.9 kB / 0.7335 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007127/0.8963, allocations: 204.4 kB / 0.7337 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.8964, allocations: 24 kB / 0.7337 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008456/0.8972, allocations: 492 kB / 0.7342 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8973, allocations: 0 / 0.7342 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002612/0.8999, allocations: 0.5936 MB / 0.7348 GB, free: 11.99 MB / 0.5417 GB 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.01372/0.9136, allocations: 5.558 MB / 0.7402 GB, free: 6.383 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009865/0.9235, allocations: 3.43 MB / 0.7436 GB, free: 2.934 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.9236, allocations: 8.188 kB / 0.7436 GB, free: 2.926 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004709/0.9283, allocations: 1.43 MB / 0.745 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.9295, allocations: 73.61 kB / 0.745 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005101/0.9346, allocations: 1.684 MB / 0.7467 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008205/0.9355, allocations: 1.102 MB / 0.7477 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007389/0.9362, allocations: 136.2 kB / 0.7479 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005382/0.9368, allocations: 387.3 kB / 0.7482 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of SimCode: time 7.01e-07/0.9368, allocations: 0 / 0.7482 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3817/1.318, allocations: 34.54 MB / 0.782 GB, free: 145.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/1.319, allocations: 135.3 kB / 0.7821 GB, free: 145.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.218/4.537, allocations: 0 / 0.7821 GB, free: 145.7 MB / 0.5573 GB (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)