Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, 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.325/1.325, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0009011/0.0009014, allocations: 92.8 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4506/0.4506, allocations: 78.12 MB / 409.4 MB, free: 6.441 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.352e-05/1.354e-05, allocations: 0 / 485 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 69.36 MB / 0.5413 GB, free: 6.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3585/0.4763, allocations: 98.12 MB / 0.6371 GB, free: 1.609 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.4766, allocations: 80.48 kB / 0.6372 GB, free: 1.531 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06567/0.5423, allocations: 24.45 MB / 0.6611 GB, free: 9.152 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5423, allocations: 8 kB / 0.6611 GB, free: 9.145 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.84e-05/0.5424, allocations: 16 kB / 0.6611 GB, free: 9.129 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.004621/0.547, allocations: 1.671 MB / 0.6628 GB, free: 7.414 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.5471, allocations: 8.031 kB / 0.6628 GB, free: 7.406 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003196/0.5503, allocations: 0.5449 MB / 0.6633 GB, free: 6.859 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.5517, allocations: 0.7187 MB / 0.664 GB, free: 6.098 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/0.552, allocations: 244.2 kB / 0.6642 GB, free: 5.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.5521, allocations: 40 kB / 0.6643 GB, free: 5.781 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001315/0.5534, allocations: 0.7733 MB / 0.665 GB, free: 5.008 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.5548, allocations: 0.8134 MB / 0.6658 GB, free: 4.184 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.5549, allocations: 3.938 kB / 0.6658 GB, free: 4.18 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.104e-05/0.5549, allocations: 3.984 kB / 0.6658 GB, free: 4.176 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.555, allocations: 20 kB / 0.6658 GB, free: 4.156 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005821/0.5608, allocations: 3.396 MB / 0.6692 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.5624, allocations: 1.227 MB / 0.6704 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007174/0.5631, allocations: 0.5461 MB / 0.6709 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.5633, allocations: 24.77 kB / 0.6709 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.5633, allocations: 39.34 kB / 0.671 GB, free: 14.65 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 4.568e-06/0.5633, allocations: 0 / 0.671 GB, free: 14.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01216/0.5755, allocations: 3.969 MB / 0.6748 GB, free: 10.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.5755, allocations: 85.89 kB / 0.6749 GB, free: 10.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008267/0.5764, allocations: 0.6314 MB / 0.6755 GB, free: 9.914 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.5765, allocations: 25.7 kB / 0.6756 GB, free: 9.883 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/0.5768, allocations: 460.4 kB / 0.676 GB, free: 9.426 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.5771, allocations: 307.3 kB / 0.6763 GB, free: 9.121 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.65e-05/0.5772, allocations: 4 kB / 0.6763 GB, free: 9.117 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.119e-05/0.5773, allocations: 346.9 kB / 0.6766 GB, free: 8.773 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006447/0.5779, allocations: 430.6 kB / 0.677 GB, free: 8.355 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007313/0.5787, allocations: 0.5246 MB / 0.6775 GB, free: 7.793 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007056/0.5794, allocations: 474.3 kB / 0.678 GB, free: 7.336 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.5794, allocations: 0 / 0.678 GB, free: 7.336 MB / 490.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01236/0.5917, allocations: 4.126 MB / 0.682 GB, free: 3.195 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003219/0.5921, allocations: 0.8781 MB / 0.6829 GB, free: 2.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.5921, allocations: 4 kB / 0.6829 GB, free: 2.246 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005383/0.5975, allocations: 1.674 MB / 0.6845 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006748/0.5982, allocations: 143.8 kB / 0.6847 GB, free: 440 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/0.6118, allocations: 7.086 MB / 0.6916 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.6131, allocations: 168.8 kB / 0.6917 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.6133, allocations: 27.98 kB / 0.6918 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.6133, allocations: 4 kB / 0.6918 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01178/0.6251, allocations: 3.985 MB / 0.6957 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.6251, allocations: 11.98 kB / 0.6957 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005361/0.6305, allocations: 1.671 MB / 0.6973 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.6311, allocations: 135.8 kB / 0.6974 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/0.6449, allocations: 7.095 MB / 0.7044 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.6462, allocations: 159.2 kB / 0.7045 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.6463, allocations: 41.34 kB / 0.7046 GB, free: 11.8 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.0002696/0.6466, allocations: 122.2 kB / 0.7047 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/0.6469, allocations: 106.7 kB / 0.7048 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/0.6591, allocations: 4.075 MB / 0.7088 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.6591, allocations: 8 kB / 0.7088 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6591, allocations: 0 / 0.7088 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.6591, allocations: 3.984 kB / 0.7088 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.6736, allocations: 5.597 MB / 0.7142 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/0.6736, allocations: 4.75 kB / 0.7142 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007794/0.6744, allocations: 115.9 kB / 0.7143 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005217/0.6797, allocations: 1.673 MB / 0.716 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/0.6798, allocations: 0 / 0.716 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/0.6922, allocations: 6.19 MB / 0.722 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.6922, allocations: 0 / 0.722 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01307/0.7053, allocations: 4.831 MB / 0.7267 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004384/0.7058, allocations: 195.5 kB / 0.7269 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000328/0.7061, allocations: 8.562 kB / 0.7269 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.7073, allocations: 119.9 kB / 0.727 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005897/0.7079, allocations: 208.4 kB / 0.7272 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.504e-05/0.708, allocations: 27.95 kB / 0.7273 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006805/0.7087, allocations: 492 kB / 0.7277 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7087, allocations: 0 / 0.7277 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002002/0.7107, allocations: 0.5973 MB / 0.7283 GB, free: 3.117 MB / 0.5261 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.0002999/0.711, allocations: 137 kB / 0.7285 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009276/0.7203, allocations: 3.445 MB / 0.7318 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.7203, allocations: 5.5 kB / 0.7318 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004112/0.7244, allocations: 1.429 MB / 0.7332 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007006/0.7252, allocations: 55.38 kB / 0.7333 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.7284, allocations: 1.55 MB / 0.7348 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/0.7291, allocations: 1.099 MB / 0.7359 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006403/0.7298, allocations: 140.2 kB / 0.736 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.73, allocations: 39.44 kB / 0.736 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of SimCode: time 7.72e-07/0.73, allocations: 0 / 0.736 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of Templates: time 0.03912/0.7691, allocations: 26.22 MB / 0.7616 GB, free: 1.145 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)