Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001136, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.351/1.351, allocations: 222.9 MB / 239.6 MB, free: 4.781 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.001559/0.001558, allocations: 200.4 kB / 289.9 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4572/0.4572, allocations: 78.53 MB / 418.6 MB, free: 3.336 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 79.88 kB / 497.6 MB, free: 6.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1412, allocations: 68.18 MB / 0.5525 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.2509/0.3921, allocations: 6.456 MB / 0.5588 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003813/0.396, allocations: 1.897 MB / 0.5607 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.3971, allocations: 14.91 kB / 0.5607 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006205/0.3977, allocations: 166.5 kB / 0.5608 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.3995, allocations: 0.615 MB / 0.5614 GB, free: 35.39 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_Inputs_Outputs.xq <> order4_Inputs_Outputs.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.4008, allocations: 0.5852 MB / 0.562 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.4023, allocations: 1.345 MB / 0.5633 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004214/0.4027, allocations: 292.7 kB / 0.5636 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007414/0.4034, allocations: 0.5646 MB / 0.5642 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006371/0.4041, allocations: 0.6859 MB / 0.5648 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.4043, allocations: 95.56 kB / 0.5649 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004658/0.4047, allocations: 236.8 kB / 0.5651 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.4049, allocations: 263.4 kB / 0.5654 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000415/0.4053, allocations: 0.5882 MB / 0.566 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.4064, allocations: 1.114 MB / 0.5671 GB, free: 34.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4064, allocations: 0 / 0.5671 GB, free: 34.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4065, allocations: 2.5 kB / 0.5671 GB, free: 34.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.4065, allocations: 0 / 0.5671 GB, free: 34.46 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.007476/0.414, allocations: 2.442 MB / 0.5694 GB, free: 33.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.414, allocations: 12.94 kB / 0.5694 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004763/0.4188, allocations: 0.7601 MB / 0.5702 GB, free: 33.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.4201, allocations: 0.7366 MB / 0.5709 GB, free: 33.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002606/0.4204, allocations: 259.9 kB / 0.5712 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.4206, allocations: 72.41 kB / 0.5712 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.4227, allocations: 1.097 MB / 0.5723 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.4227, allocations: 0 / 0.5723 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-05/0.4228, allocations: 31.75 kB / 0.5723 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.4228, allocations: 20.5 kB / 0.5723 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.4249, allocations: 1.023 MB / 0.5733 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.005826/0.4307, allocations: 3.475 MB / 0.5767 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/0.4329, allocations: 1.433 MB / 0.5781 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.4343, allocations: 0.7441 MB / 0.5789 GB, free: 30.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.4344, allocations: 22.64 kB / 0.5789 GB, free: 30.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.4345, allocations: 41.7 kB / 0.5789 GB, free: 30.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.946e-06/0.4345, allocations: 0 / 0.5789 GB, free: 30.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02653/0.461, allocations: 6.893 MB / 0.5857 GB, free: 29.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.4611, allocations: 86.52 kB / 0.5857 GB, free: 29.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.4624, allocations: 0.8225 MB / 0.5865 GB, free: 28.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002642/0.4627, allocations: 42.2 kB / 0.5866 GB, free: 28.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.4629, allocations: 447.1 kB / 0.587 GB, free: 28.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/0.4633, allocations: 335 kB / 0.5873 GB, free: 28.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/0.4637, allocations: 205.4 kB / 0.5875 GB, free: 28.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.962e-05/0.4638, allocations: 350.7 kB / 0.5879 GB, free: 27.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.4653, allocations: 0.7074 MB / 0.5886 GB, free: 27.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.467, allocations: 0.8445 MB / 0.5894 GB, free: 27.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003073/0.47, allocations: 1.513 MB / 0.5909 GB, free: 26.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.4701, allocations: 5.688 kB / 0.5909 GB, free: 26.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01437/0.4844, allocations: 4.229 MB / 0.595 GB, free: 25.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.4845, allocations: 5.5 kB / 0.595 GB, free: 25.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.4846, allocations: 3.359 kB / 0.595 GB, free: 25.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006843/0.4914, allocations: 1.787 MB / 0.5967 GB, free: 25.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.4926, allocations: 195.5 kB / 0.5969 GB, free: 25.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02401/0.5166, allocations: 9.321 MB / 0.606 GB, free: 20.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.5185, allocations: 168.9 kB / 0.6062 GB, free: 20.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002868/0.5188, allocations: 43.09 kB / 0.6062 GB, free: 20.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00225/0.5211, allocations: 0.8625 MB / 0.6071 GB, free: 20.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001861/0.5229, allocations: 0.8275 MB / 0.6079 GB, free: 19.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003378/0.5263, allocations: 1.498 MB / 0.6094 GB, free: 19.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.939e-06/0.5264, allocations: 1.031 kB / 0.6094 GB, free: 19.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01385/0.5402, allocations: 4.213 MB / 0.6135 GB, free: 16.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.5403, allocations: 5.094 kB / 0.6135 GB, free: 16.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.5403, allocations: 4.547 kB / 0.6135 GB, free: 16.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005891/0.5462, allocations: 1.787 MB / 0.6152 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.5473, allocations: 196.6 kB / 0.6154 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0197/0.567, allocations: 9.312 MB / 0.6245 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.5687, allocations: 152.4 kB / 0.6246 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/0.569, allocations: 39.98 kB / 0.6247 GB, free: 5.07 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 (110): * Single equations (assignments): 109 * 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.0004238/0.5694, allocations: 229.7 kB / 0.6249 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/0.5698, allocations: 111.7 kB / 0.625 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/0.5814, allocations: 3.908 MB / 0.6288 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.5815, allocations: 11.98 kB / 0.6288 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5815, allocations: 0 / 0.6288 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.472e-05/0.5815, allocations: 7.922 kB / 0.6288 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/0.5974, allocations: 5.569 MB / 0.6343 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/0.5975, allocations: 0 / 0.6343 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007422/0.5982, allocations: 112.6 kB / 0.6344 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005896/0.6041, allocations: 1.748 MB / 0.6361 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002311/0.6044, allocations: 24 kB / 0.6361 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01876/0.6232, allocations: 8.066 MB / 0.644 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.6232, allocations: 3.938 kB / 0.644 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01527/0.6385, allocations: 4.849 MB / 0.6487 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00048/0.639, allocations: 200.6 kB / 0.6489 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004152/0.6395, allocations: 16 kB / 0.6489 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.6408, allocations: 95.89 kB / 0.649 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007617/0.6415, allocations: 205.4 kB / 0.6492 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.6417, allocations: 24 kB / 0.6493 GB, free: 11.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008936/0.6426, allocations: 0.5549 MB / 0.6498 GB, free: 10.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6426, allocations: 0 / 0.6498 GB, free: 10.99 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002904/0.6455, allocations: 0.6866 MB / 0.6505 GB, free: 10.3 MB / 462.1 MB 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 () * Number of clocked 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 (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.0003986/0.6459, allocations: 129 kB / 0.6506 GB, free: 10.17 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01337/0.6593, allocations: 4.232 MB / 0.6547 GB, free: 5.922 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.6594, allocations: 1.969 kB / 0.6547 GB, free: 5.922 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005112/0.6645, allocations: 1.552 MB / 0.6562 GB, free: 4.363 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.6658, allocations: 94.09 kB / 0.6563 GB, free: 4.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/0.6709, allocations: 2.466 MB / 0.6587 GB, free: 1.797 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008894/0.6718, allocations: 1.081 MB / 0.6598 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/0.6722, allocations: 67.42 kB / 0.6599 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of SimCode: time 1.472e-06/0.6722, allocations: 0 / 0.6599 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of Templates: time 0.03264/0.7049, allocations: 20.14 MB / 0.6795 GB, free: 12.62 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)