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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.238/1.238, allocations: 222.9 MB / 238.9 MB, free: 4.738 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.00113/0.00113, allocations: 192.5 kB / 289.1 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4276/0.4276, allocations: 78.52 MB / 417.8 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001232, allocations: 71.89 kB / 496.8 MB, free: 6.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1329, allocations: 68.18 MB / 0.5517 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.1979/0.3308, allocations: 6.42 MB / 0.558 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003456/0.3343, allocations: 1.906 MB / 0.5598 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006452/0.335, allocations: 14.94 kB / 0.5598 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.3355, allocations: 165.8 kB / 0.56 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.3369, allocations: 0.6164 MB / 0.5606 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.338, allocations: 0.5861 MB / 0.5612 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.3391, allocations: 1.28 MB / 0.5624 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000332/0.3394, allocations: 256.6 kB / 0.5627 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004929/0.3399, allocations: 0.5142 MB / 0.5632 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004971/0.3404, allocations: 0.6575 MB / 0.5638 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.3405, allocations: 62.38 kB / 0.5639 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003844/0.3409, allocations: 191.4 kB / 0.564 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.3411, allocations: 231.9 kB / 0.5643 GB, free: 34.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.3414, allocations: 0.5475 MB / 0.5648 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009169/0.3424, allocations: 1.403 MB / 0.5662 GB, free: 34.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3424, allocations: 0 / 0.5662 GB, free: 34.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.3424, allocations: 1.875 kB / 0.5662 GB, free: 34.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.3424, allocations: 0 / 0.5662 GB, free: 34.47 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.006759/0.3492, allocations: 2.448 MB / 0.5686 GB, free: 33.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.3492, allocations: 8.688 kB / 0.5686 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004618/0.3538, allocations: 0.7706 MB / 0.5693 GB, free: 33.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009667/0.3548, allocations: 0.7381 MB / 0.57 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/0.3551, allocations: 251.2 kB / 0.5703 GB, free: 32.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.3552, allocations: 82.5 kB / 0.5704 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.3572, allocations: 1.099 MB / 0.5714 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3572, allocations: 0 / 0.5714 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.843e-05/0.3573, allocations: 31.94 kB / 0.5715 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.3573, allocations: 14.53 kB / 0.5715 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.3592, allocations: 1.026 MB / 0.5725 GB, free: 32.89 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.005058/0.3643, allocations: 3.508 MB / 0.5759 GB, free: 31.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/0.3665, allocations: 1.448 MB / 0.5773 GB, free: 31.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.3678, allocations: 0.7409 MB / 0.578 GB, free: 30.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.3679, allocations: 14.5 kB / 0.5781 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3679, allocations: 43.62 kB / 0.5781 GB, free: 30.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.594e-06/0.3679, allocations: 0 / 0.5781 GB, free: 30.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02453/0.3925, allocations: 6.43 MB / 0.5844 GB, free: 29.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.3925, allocations: 90.42 kB / 0.5845 GB, free: 29.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.3938, allocations: 0.8323 MB / 0.5853 GB, free: 29.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002189/0.394, allocations: 40.98 kB / 0.5853 GB, free: 29.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.3943, allocations: 453.4 kB / 0.5858 GB, free: 28.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.3945, allocations: 323.1 kB / 0.5861 GB, free: 28.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003829/0.3949, allocations: 198.8 kB / 0.5863 GB, free: 28.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.278e-05/0.395, allocations: 346.7 kB / 0.5866 GB, free: 28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.3965, allocations: 0.7059 MB / 0.5873 GB, free: 27.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.398, allocations: 0.8309 MB / 0.5881 GB, free: 27.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0028/0.4008, allocations: 1.501 MB / 0.5895 GB, free: 26.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.4008, allocations: 1.562 kB / 0.5895 GB, free: 26.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01304/0.4139, allocations: 4.219 MB / 0.5937 GB, free: 25.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.4139, allocations: 5 kB / 0.5937 GB, free: 25.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.4139, allocations: 3.391 kB / 0.5937 GB, free: 25.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006097/0.42, allocations: 1.791 MB / 0.5954 GB, free: 25.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009834/0.421, allocations: 189.7 kB / 0.5956 GB, free: 25.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/0.4414, allocations: 8.592 MB / 0.604 GB, free: 21.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.4432, allocations: 160.7 kB / 0.6042 GB, free: 21.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000287/0.4435, allocations: 38.2 kB / 0.6042 GB, free: 21.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002369/0.4459, allocations: 0.8543 MB / 0.605 GB, free: 20.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001826/0.4477, allocations: 0.8205 MB / 0.6058 GB, free: 20.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00329/0.451, allocations: 1.484 MB / 0.6073 GB, free: 19.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.2e-05/0.4511, allocations: 1.297 kB / 0.6073 GB, free: 19.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01301/0.4641, allocations: 4.2 MB / 0.6114 GB, free: 18.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.4641, allocations: 4 kB / 0.6114 GB, free: 18.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.4641, allocations: 8 kB / 0.6114 GB, free: 18.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005414/0.4696, allocations: 1.79 MB / 0.6131 GB, free: 16.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008599/0.4704, allocations: 187.7 kB / 0.6133 GB, free: 16.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01681/0.4873, allocations: 8.568 MB / 0.6217 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.4887, allocations: 162.9 kB / 0.6218 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.4888, allocations: 40.86 kB / 0.6219 GB, free: 7.16 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003158/0.4891, allocations: 228.1 kB / 0.6221 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.4894, allocations: 106.7 kB / 0.6222 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.5004, allocations: 3.912 MB / 0.626 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.5004, allocations: 12 kB / 0.626 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5004, allocations: 0.8125 kB / 0.626 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.5004, allocations: 3.984 kB / 0.626 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/0.5148, allocations: 5.631 MB / 0.6315 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.5148, allocations: 0 / 0.6315 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006474/0.5155, allocations: 103.9 kB / 0.6316 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005662/0.5211, allocations: 1.745 MB / 0.6333 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/0.5214, allocations: 18.72 kB / 0.6334 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01661/0.538, allocations: 7.352 MB / 0.6405 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.538, allocations: 4 kB / 0.6405 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01383/0.5519, allocations: 4.825 MB / 0.6452 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/0.5523, allocations: 191.6 kB / 0.6454 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/0.5526, allocations: 30.36 kB / 0.6455 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.5536, allocations: 95.89 kB / 0.6456 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006218/0.5542, allocations: 200.6 kB / 0.6457 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.07e-05/0.5543, allocations: 24 kB / 0.6458 GB, free: 14.33 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007655/0.5551, allocations: 0.555 MB / 0.6463 GB, free: 13.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.5551, allocations: 0 / 0.6463 GB, free: 13.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002078/0.5572, allocations: 0.6827 MB / 0.647 GB, free: 13.08 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000285/0.5575, allocations: 140.4 kB / 0.6471 GB, free: 12.94 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01317/0.5707, allocations: 4.098 MB / 0.6511 GB, free: 8.832 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.5707, allocations: 0 / 0.6511 GB, free: 8.832 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004716/0.5754, allocations: 1.507 MB / 0.6526 GB, free: 7.312 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.5766, allocations: 93.3 kB / 0.6527 GB, free: 7.219 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.5812, allocations: 2.377 MB / 0.655 GB, free: 4.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007909/0.582, allocations: 1.082 MB / 0.656 GB, free: 3.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005968/0.5826, allocations: 103.7 kB / 0.6561 GB, free: 3.629 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.5829, allocations: 59.42 kB / 0.6562 GB, free: 3.57 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5829, allocations: 1.125 kB / 0.6562 GB, free: 3.57 MB / 462.1 MB Notification: Performance of Templates: time 0.04206/0.625, allocations: 28.59 MB / 0.6841 GB, free: 7.195 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)