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.005091/0.005091, allocations: 169.8 kB / 15.12 MB, free: 5.559 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.362/1.362, allocations: 223.2 MB / 239 MB, free: 64 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.0009527/0.0009527, allocations: 103.9 kB / 290.2 MB, free: 4.504 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5165/0.5165, allocations: 78.59 MB / 419.9 MB, free: 36.49 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003847, allocations: 12 kB / 499.8 MB, free: 7.184 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1326, allocations: 69.36 MB / 0.5559 GB, free: 1.758 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.005731/0.1384, allocations: 5.321 MB / 0.5611 GB, free: 12.41 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004463/0.1429, allocations: 1.826 MB / 0.5628 GB, free: 10.58 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.1441, allocations: 12 kB / 0.5629 GB, free: 10.57 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008224/0.1449, allocations: 150.8 kB / 0.563 GB, free: 10.42 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.1472, allocations: 0.6351 MB / 0.5636 GB, free: 9.785 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.1486, allocations: 0.532 MB / 0.5641 GB, free: 9.262 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002257/0.1509, allocations: 0.8618 MB / 0.565 GB, free: 8.398 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000654/0.1515, allocations: 235.4 kB / 0.5652 GB, free: 8.156 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.1526, allocations: 494 kB / 0.5657 GB, free: 7.672 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.1537, allocations: 0.5912 MB / 0.5663 GB, free: 7.078 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003022/0.154, allocations: 52 kB / 0.5663 GB, free: 7.027 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005819/0.1546, allocations: 163.8 kB / 0.5665 GB, free: 6.867 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.1549, allocations: 207.1 kB / 0.5667 GB, free: 6.664 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.1552, allocations: 209.1 kB / 0.5669 GB, free: 6.453 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.1565, allocations: 1.013 MB / 0.5678 GB, free: 5.438 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1565, allocations: 0 / 0.5678 GB, free: 5.438 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1565, allocations: 3.938 kB / 0.5679 GB, free: 5.434 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.074e-05/0.1566, allocations: 0 / 0.5679 GB, free: 5.434 MB / 442.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.007693/0.1643, allocations: 2.291 MB / 0.5701 GB, free: 3.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1643, allocations: 8.031 kB / 0.5701 GB, free: 3.082 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002745/0.1646, allocations: 118.5 kB / 0.5702 GB, free: 2.957 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004893/0.1695, allocations: 0.7867 MB / 0.571 GB, free: 2.168 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.1708, allocations: 0.7055 MB / 0.5717 GB, free: 1.418 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003118/0.1712, allocations: 268.2 kB / 0.5719 GB, free: 1.121 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.1714, allocations: 76 kB / 0.572 GB, free: 1.047 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.248/0.4194, allocations: 1.151 MB / 0.5731 GB, free: 44.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.4195, allocations: 1.172 kB / 0.5731 GB, free: 44.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.4196, allocations: 29.78 kB / 0.5731 GB, free: 44.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.4196, allocations: 19.53 kB / 0.5732 GB, free: 44.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.422, allocations: 1.116 MB / 0.5743 GB, free: 44.22 MB / 442.7 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.005606/0.4276, allocations: 3.676 MB / 0.5778 GB, free: 43.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/0.43, allocations: 1.554 MB / 0.5794 GB, free: 42.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.826e-05/0.4301, allocations: 14.05 kB / 0.5794 GB, free: 42.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.4301, allocations: 47.69 kB / 0.5794 GB, free: 42.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=89): time 2.354e-06/0.4301, allocations: 2.469 kB / 0.5794 GB, free: 42.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=89): time 0.02693/0.4571, allocations: 7.94 MB / 0.5872 GB, free: 42.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.4571, allocations: 90.36 kB / 0.5873 GB, free: 41.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.4584, allocations: 0.819 MB / 0.5881 GB, free: 41.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002054/0.4586, allocations: 42.52 kB / 0.5881 GB, free: 41.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.4589, allocations: 454 kB / 0.5885 GB, free: 41.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.4592, allocations: 327.7 kB / 0.5889 GB, free: 41.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/0.4592, allocations: 21.44 kB / 0.5889 GB, free: 41.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.4593, allocations: 345.2 kB / 0.5892 GB, free: 41.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.461, allocations: 0.7729 MB / 0.59 GB, free: 41.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.4628, allocations: 0.8964 MB / 0.5908 GB, free: 41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/0.4646, allocations: 0.823 MB / 0.5916 GB, free: 40.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.4646, allocations: 0 / 0.5916 GB, free: 40.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01437/0.479, allocations: 5.12 MB / 0.5966 GB, free: 39.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002232/0.4792, allocations: 0.8827 MB / 0.5975 GB, free: 38.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4793, allocations: 3.938 kB / 0.5975 GB, free: 38.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006375/0.4856, allocations: 2.107 MB / 0.5996 GB, free: 38.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000976/0.4867, allocations: 205.6 kB / 0.5998 GB, free: 38.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02094/0.5076, allocations: 10.02 MB / 0.6095 GB, free: 34.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.5091, allocations: 206.2 kB / 0.6097 GB, free: 34.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.5092, allocations: 38.55 kB / 0.6098 GB, free: 34.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.5093, allocations: 5.562 kB / 0.6098 GB, free: 34.23 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01462/0.5239, allocations: 4.97 MB / 0.6146 GB, free: 33.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.524, allocations: 6.594 kB / 0.6146 GB, free: 33.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006773/0.5307, allocations: 2.105 MB / 0.6167 GB, free: 32.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009825/0.5318, allocations: 194.5 kB / 0.6169 GB, free: 32.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02297/0.5548, allocations: 10 MB / 0.6266 GB, free: 28.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.5562, allocations: 196.5 kB / 0.6268 GB, free: 28.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.792e-05/0.5563, allocations: 39.67 kB / 0.6269 GB, free: 28.46 MB / 442.7 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.0004569/0.5568, allocations: 305.7 kB / 0.6272 GB, free: 28.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.557, allocations: 105.9 kB / 0.6273 GB, free: 28.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/0.571, allocations: 4.838 MB / 0.632 GB, free: 26.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.5711, allocations: 8 kB / 0.632 GB, free: 26.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.5711, allocations: 1.938 kB / 0.632 GB, free: 26.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.894e-05/0.5711, allocations: 5.578 kB / 0.632 GB, free: 26.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/0.5865, allocations: 6.539 MB / 0.6384 GB, free: 19.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.5866, allocations: 0 / 0.6384 GB, free: 19.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006446/0.5872, allocations: 111.9 kB / 0.6385 GB, free: 19.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005845/0.5931, allocations: 2.052 MB / 0.6405 GB, free: 17.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001599/0.5933, allocations: 19.98 kB / 0.6405 GB, free: 17.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01928/0.6126, allocations: 8.656 MB / 0.649 GB, free: 8.922 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.6126, allocations: 7.984 kB / 0.649 GB, free: 8.914 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/0.6279, allocations: 5.831 MB / 0.6547 GB, free: 3.043 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000475/0.6284, allocations: 203.5 kB / 0.6549 GB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.6286, allocations: 15.94 kB / 0.6549 GB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.6296, allocations: 135.9 kB / 0.655 GB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005346/0.6302, allocations: 208.6 kB / 0.6552 GB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.269e-05/0.6302, allocations: 27.95 kB / 0.6552 GB, free: 2.445 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005883/0.6308, allocations: 0.551 MB / 0.6558 GB, free: 1.883 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6308, allocations: 0 / 0.6558 GB, free: 1.883 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001969/0.6328, allocations: 0.6866 MB / 0.6564 GB, free: 1.195 MB / 442.7 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.01703/0.6499, allocations: 6.54 MB / 0.6628 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01295/0.6629, allocations: 4.618 MB / 0.6673 GB, free: 5.984 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.6629, allocations: 0 / 0.6673 GB, free: 5.984 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00523/0.6681, allocations: 1.747 MB / 0.669 GB, free: 4.242 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007847/0.669, allocations: 75.38 kB / 0.6691 GB, free: 4.168 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/0.6743, allocations: 4.203 MB / 0.6732 GB, free: 15.89 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.6749, allocations: 1.101 MB / 0.6743 GB, free: 14.76 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005438/0.6755, allocations: 103.8 kB / 0.6744 GB, free: 14.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/0.676, allocations: 407.3 kB / 0.6748 GB, free: 14.26 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/0.676, allocations: 0 / 0.6748 GB, free: 14.26 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05861/0.7346, allocations: 35.59 MB / 0.7095 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.7348, allocations: 207 kB / 0.7097 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.903/3.638, allocations: 3.5 kB / 0.7097 GB, free: 10.78 MB / 0.4948 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)