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.001573/0.001573, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 239.2 MB, free: 4.625 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.001239/0.001239, allocations: 188.5 kB / 289.5 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4648/0.4648, allocations: 78.52 MB / 418.2 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 83.86 kB / 497.4 MB, free: 6.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1354, allocations: 68.18 MB / 0.5524 GB, free: 2.223 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.2154/0.3508, allocations: 6.112 MB / 0.5583 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003166/0.354, allocations: 1.86 MB / 0.5601 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005309/0.3545, allocations: 12.94 kB / 0.5602 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000449/0.3551, allocations: 217.2 kB / 0.5604 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.3565, allocations: 0.6907 MB / 0.561 GB, free: 35.47 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.001245/0.3577, allocations: 0.636 MB / 0.5617 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001231/0.359, allocations: 1.352 MB / 0.563 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004213/0.3594, allocations: 286.9 kB / 0.5633 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000684/0.3601, allocations: 0.5581 MB / 0.5638 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006319/0.3607, allocations: 0.686 MB / 0.5645 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.3609, allocations: 103.6 kB / 0.5646 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000479/0.3614, allocations: 230.2 kB / 0.5648 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.3616, allocations: 265.5 kB / 0.565 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004473/0.362, allocations: 0.5858 MB / 0.5656 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.3634, allocations: 1.44 MB / 0.567 GB, free: 34.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.3634, allocations: 0 / 0.567 GB, free: 34.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3634, allocations: 2.062 kB / 0.567 GB, free: 34.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.3634, allocations: 1.188 kB / 0.567 GB, free: 34.25 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.007246/0.3707, allocations: 2.446 MB / 0.5694 GB, free: 33.4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3707, allocations: 11.22 kB / 0.5694 GB, free: 33.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00479/0.3755, allocations: 0.7574 MB / 0.5702 GB, free: 33.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.3766, allocations: 0.7435 MB / 0.5709 GB, free: 32.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/0.3769, allocations: 255.4 kB / 0.5711 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.3771, allocations: 77.11 kB / 0.5712 GB, free: 32.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.379, allocations: 1.096 MB / 0.5723 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.3791, allocations: 0 / 0.5723 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.911e-05/0.3792, allocations: 28.41 kB / 0.5723 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.3792, allocations: 18.69 kB / 0.5723 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.3812, allocations: 1.031 MB / 0.5733 GB, free: 32.66 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.005189/0.3864, allocations: 3.463 MB / 0.5767 GB, free: 31.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.3886, allocations: 1.435 MB / 0.5781 GB, free: 30.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.3899, allocations: 0.7424 MB / 0.5788 GB, free: 30.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.066e-05/0.39, allocations: 17.75 kB / 0.5788 GB, free: 30.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.39, allocations: 45.62 kB / 0.5789 GB, free: 30.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.085e-06/0.39, allocations: 0 / 0.5789 GB, free: 30.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.0274/0.4174, allocations: 6.893 MB / 0.5856 GB, free: 29.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.4175, allocations: 86.61 kB / 0.5857 GB, free: 29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.4189, allocations: 0.8237 MB / 0.5865 GB, free: 28.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003158/0.4192, allocations: 41.48 kB / 0.5865 GB, free: 28.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.4196, allocations: 450 kB / 0.587 GB, free: 28.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/0.42, allocations: 333.4 kB / 0.5873 GB, free: 27.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004071/0.4204, allocations: 202.1 kB / 0.5875 GB, free: 27.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.899e-05/0.4205, allocations: 349.7 kB / 0.5878 GB, free: 27.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.4222, allocations: 0.7114 MB / 0.5885 GB, free: 27.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.424, allocations: 0.8434 MB / 0.5893 GB, free: 26.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00328/0.4273, allocations: 1.517 MB / 0.5908 GB, free: 26.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.4273, allocations: 0.9688 kB / 0.5908 GB, free: 26.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01476/0.442, allocations: 4.23 MB / 0.595 GB, free: 25.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.4421, allocations: 5.938 kB / 0.595 GB, free: 25.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.4421, allocations: 2.469 kB / 0.595 GB, free: 25.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006568/0.4487, allocations: 1.791 MB / 0.5967 GB, free: 24.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.4498, allocations: 197.1 kB / 0.5969 GB, free: 24.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/0.4716, allocations: 9.321 MB / 0.606 GB, free: 20.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.4732, allocations: 169 kB / 0.6062 GB, free: 20.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.4733, allocations: 42.94 kB / 0.6062 GB, free: 20.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001747/0.4751, allocations: 0.8607 MB / 0.607 GB, free: 19.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001588/0.4767, allocations: 0.8304 MB / 0.6079 GB, free: 19.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002936/0.4796, allocations: 1.499 MB / 0.6093 GB, free: 18.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.372e-06/0.4797, allocations: 0.8125 kB / 0.6093 GB, free: 18.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization_lambda0): time 0.01311/0.4928, allocations: 4.211 MB / 0.6134 GB, free: 16.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.4928, allocations: 6.031 kB / 0.6134 GB, free: 16.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.4929, allocations: 7.984 kB / 0.6134 GB, free: 16.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00576/0.4986, allocations: 1.79 MB / 0.6152 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009737/0.4996, allocations: 191.7 kB / 0.6154 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01905/0.5187, allocations: 9.3 MB / 0.6245 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.5202, allocations: 151.2 kB / 0.6246 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.5203, allocations: 37.83 kB / 0.6246 GB, free: 4.637 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.0003306/0.5207, allocations: 240 kB / 0.6249 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.5209, allocations: 110.6 kB / 0.625 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.5327, allocations: 3.905 MB / 0.6288 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.5327, allocations: 8 kB / 0.6288 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.5327, allocations: 0 / 0.6288 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.5327, allocations: 3.984 kB / 0.6288 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/0.5482, allocations: 5.582 MB / 0.6343 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.5482, allocations: 8.062 kB / 0.6343 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006772/0.5489, allocations: 105.3 kB / 0.6344 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006174/0.5551, allocations: 1.748 MB / 0.6361 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002222/0.5554, allocations: 20 kB / 0.6361 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01899/0.5744, allocations: 8.07 MB / 0.644 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5744, allocations: 0 / 0.644 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/0.5903, allocations: 4.848 MB / 0.6487 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004242/0.5908, allocations: 199.5 kB / 0.6489 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003811/0.5912, allocations: 17.73 kB / 0.6489 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.5924, allocations: 99.88 kB / 0.649 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006864/0.5931, allocations: 208.6 kB / 0.6492 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.5932, allocations: 20 kB / 0.6492 GB, free: 11.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007984/0.594, allocations: 0.5549 MB / 0.6498 GB, free: 10.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.594, allocations: 3.938 kB / 0.6498 GB, free: 10.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002304/0.5964, allocations: 0.6866 MB / 0.6504 GB, free: 9.855 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.0002976/0.5967, allocations: 132.3 kB / 0.6506 GB, free: 9.719 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0129/0.6096, allocations: 4.231 MB / 0.6547 GB, free: 5.477 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.6096, allocations: 0 / 0.6547 GB, free: 5.477 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005226/0.6149, allocations: 1.565 MB / 0.6562 GB, free: 3.902 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.6164, allocations: 86.22 kB / 0.6563 GB, free: 3.816 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005014/0.6215, allocations: 2.065 MB / 0.6583 GB, free: 1.754 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007806/0.6223, allocations: 1.074 MB / 0.6594 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005953/0.6229, allocations: 102.5 kB / 0.6595 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.6231, allocations: 63.42 kB / 0.6595 GB, free: 500 kB / 462.1 MB Notification: Performance of SimCode: time 1.292e-06/0.6232, allocations: 0 / 0.6595 GB, free: 500 kB / 462.1 MB Notification: Performance of Templates: time 0.05349/0.6766, allocations: 31.34 MB / 0.6901 GB, free: 1.336 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)