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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008563/0.0008563, allocations: 86.56 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.2 MB / 239 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 180.5 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4691/0.4691, allocations: 78.55 MB / 419.9 MB, free: 4.297 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003879, allocations: 8 kB / 499.9 MB, free: 6.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1424, allocations: 69.36 MB / 0.5559 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.29/0.4324, allocations: 5.591 MB / 0.5614 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005472/0.4379, allocations: 1.788 MB / 0.5631 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.4397, allocations: 17.31 kB / 0.5631 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000942/0.4407, allocations: 147.8 kB / 0.5633 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.4438, allocations: 0.5771 MB / 0.5638 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.4458, allocations: 0.5276 MB / 0.5643 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002678/0.4485, allocations: 1.22 MB / 0.5655 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008803/0.4494, allocations: 232.9 kB / 0.5658 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.4507, allocations: 492.2 kB / 0.5662 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.452, allocations: 0.602 MB / 0.5668 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004276/0.4525, allocations: 51.47 kB / 0.5669 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.4535, allocations: 181.4 kB / 0.567 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004374/0.454, allocations: 206.7 kB / 0.5672 GB, free: 36.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000605/0.4546, allocations: 209.1 kB / 0.5674 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.4565, allocations: 1.07 MB / 0.5685 GB, free: 35.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.4566, allocations: 0 / 0.5685 GB, free: 35.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.508e-06/0.4566, allocations: 0 / 0.5685 GB, free: 35.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.033e-05/0.4566, allocations: 4.75 kB / 0.5685 GB, free: 35.79 MB / 430.1 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.01092/0.4676, allocations: 2.289 MB / 0.5707 GB, free: 34.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.4677, allocations: 11.22 kB / 0.5707 GB, free: 34.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004919/0.4682, allocations: 122.6 kB / 0.5708 GB, free: 34.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00788/0.4761, allocations: 0.7746 MB / 0.5716 GB, free: 34.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/0.4784, allocations: 0.7025 MB / 0.5723 GB, free: 34.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004241/0.4789, allocations: 272.3 kB / 0.5726 GB, free: 34.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004443/0.4793, allocations: 73.03 kB / 0.5726 GB, free: 34.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004129/0.4835, allocations: 1.171 MB / 0.5738 GB, free: 34.24 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.856e-05/0.4836, allocations: 0.5 kB / 0.5738 GB, free: 34.24 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002003/0.4838, allocations: 26.44 kB / 0.5738 GB, free: 34.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.4838, allocations: 21.42 kB / 0.5738 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003766/0.4876, allocations: 1.112 MB / 0.5749 GB, free: 34.21 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009665/0.4973, allocations: 3.584 MB / 0.5784 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/0.5006, allocations: 1.549 MB / 0.5799 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002116/0.5027, allocations: 0.8201 MB / 0.5807 GB, free: 30.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.503, allocations: 14.27 kB / 0.5807 GB, free: 30.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.503, allocations: 46.14 kB / 0.5808 GB, free: 30.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 5.04e-06/0.503, allocations: 0 / 0.5808 GB, free: 30.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.03666/0.5397, allocations: 7.939 MB / 0.5885 GB, free: 29.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.5398, allocations: 94.59 kB / 0.5886 GB, free: 29.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.5415, allocations: 0.8186 MB / 0.5894 GB, free: 29.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003192/0.5418, allocations: 47.45 kB / 0.5895 GB, free: 29.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/0.5422, allocations: 456.1 kB / 0.5899 GB, free: 28.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004627/0.5427, allocations: 323.1 kB / 0.5902 GB, free: 28.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.5428, allocations: 20.78 kB / 0.5902 GB, free: 28.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.5429, allocations: 349 kB / 0.5906 GB, free: 28.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/0.5453, allocations: 0.7725 MB / 0.5913 GB, free: 27.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/0.5477, allocations: 0.8998 MB / 0.5922 GB, free: 27.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.55, allocations: 0.8227 MB / 0.593 GB, free: 27.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.5501, allocations: 1.438 kB / 0.593 GB, free: 27.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.02071/0.5708, allocations: 5.12 MB / 0.598 GB, free: 25.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.5709, allocations: 154.8 kB / 0.5981 GB, free: 25.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.571, allocations: 2.5 kB / 0.5981 GB, free: 25.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/0.581, allocations: 2.118 MB / 0.6002 GB, free: 25.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.5827, allocations: 194 kB / 0.6004 GB, free: 25.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02543/0.6081, allocations: 9.565 MB / 0.6097 GB, free: 21.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.6098, allocations: 209.2 kB / 0.6099 GB, free: 21.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/0.6101, allocations: 38.2 kB / 0.61 GB, free: 21.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.6101, allocations: 4.344 kB / 0.61 GB, free: 21.23 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01323/0.6234, allocations: 4.973 MB / 0.6148 GB, free: 17.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.6234, allocations: 4 kB / 0.6148 GB, free: 17.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005426/0.6289, allocations: 2.113 MB / 0.6169 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008984/0.6298, allocations: 192.9 kB / 0.6171 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01821/0.648, allocations: 9.554 MB / 0.6264 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.6497, allocations: 187.1 kB / 0.6266 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/0.65, allocations: 39.98 kB / 0.6266 GB, free: 5.254 MB / 430.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * 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.0007557/0.6507, allocations: 304.9 kB / 0.6269 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/0.6511, allocations: 107.4 kB / 0.627 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/0.663, allocations: 4.83 MB / 0.6317 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.6631, allocations: 8 kB / 0.6317 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.6631, allocations: 4.812 kB / 0.6317 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/0.6631, allocations: 3.938 kB / 0.6318 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/0.6788, allocations: 6.535 MB / 0.6381 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.6788, allocations: 4.062 kB / 0.6381 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006509/0.6795, allocations: 115.9 kB / 0.6382 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005884/0.6854, allocations: 2.048 MB / 0.6402 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/0.6856, allocations: 24.69 kB / 0.6403 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01821/0.7038, allocations: 8.211 MB / 0.6483 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.7038, allocations: 4 kB / 0.6483 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/0.7191, allocations: 5.809 MB / 0.654 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/0.7196, allocations: 195.6 kB / 0.6542 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003975/0.7201, allocations: 21.31 kB / 0.6542 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.7213, allocations: 141 kB / 0.6543 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007235/0.7221, allocations: 202.3 kB / 0.6545 GB, free: 8.352 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.7222, allocations: 24 kB / 0.6545 GB, free: 8.328 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009307/0.7232, allocations: 0.551 MB / 0.6551 GB, free: 7.766 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.074e-06/0.7232, allocations: 0 / 0.6551 GB, free: 7.766 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00265/0.7258, allocations: 0.6866 MB / 0.6557 GB, free: 7.078 MB / 462.1 MB 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.0151/0.7409, allocations: 6.385 MB / 0.662 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01173/0.7527, allocations: 4.625 MB / 0.6665 GB, free: 12.01 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/0.7527, allocations: 64 / 0.6665 GB, free: 12.01 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004555/0.7573, allocations: 1.742 MB / 0.6682 GB, free: 10.26 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.7585, allocations: 84.81 kB / 0.6683 GB, free: 10.17 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02487/0.7834, allocations: 11.15 MB / 0.6792 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007732/0.7842, allocations: 1.082 MB / 0.6802 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005608/0.7848, allocations: 100.5 kB / 0.6803 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000594/0.7854, allocations: 411.3 kB / 0.6807 GB, free: 13.13 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/0.7854, allocations: 0 / 0.6807 GB, free: 13.13 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06078/0.8462, allocations: 36.25 MB / 0.7161 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.8464, allocations: 204.6 kB / 0.7163 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.56, allocations: 0 / 0.7163 GB, free: 9.012 MB / 0.5137 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) Environment - environmentSimulation: