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.00101/0.001014, allocations: 178.6 kB / 15.45 MB, free: 6.227 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.281/1.281, allocations: 223.3 MB / 239.5 MB, free: 1.586 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.0007548/0.000755, allocations: 84.09 kB / 290.7 MB, free: 13.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4328/0.4328, allocations: 78.62 MB / 420.4 MB, free: 44.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003441, allocations: 8 kB / 0.4888 GB, free: 2.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3104, allocations: 69.35 MB / 0.5565 GB, free: 38.84 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.004485/0.3149, allocations: 6.007 MB / 0.5624 GB, free: 36.23 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.3178, allocations: 1.903 MB / 0.5642 GB, free: 35.45 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004689/0.3183, allocations: 13.94 kB / 0.5642 GB, free: 35.45 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.3187, allocations: 160.2 kB / 0.5644 GB, free: 35.39 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.32, allocations: 0.6143 MB / 0.565 GB, free: 35.1 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001261/0.3213, allocations: 0.5754 MB / 0.5656 GB, free: 34.99 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.3227, allocations: 1.296 MB / 0.5668 GB, free: 34.56 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003728/0.323, allocations: 258.2 kB / 0.5671 GB, free: 34.43 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006533/0.3237, allocations: 0.4992 MB / 0.5676 GB, free: 34.2 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005566/0.3243, allocations: 0.6233 MB / 0.5682 GB, free: 33.92 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.3244, allocations: 55.72 kB / 0.5682 GB, free: 33.91 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004273/0.3248, allocations: 182.6 kB / 0.5684 GB, free: 33.87 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.325, allocations: 213.4 kB / 0.5686 GB, free: 33.74 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004189/0.3254, allocations: 0.5583 MB / 0.5691 GB, free: 33.37 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009877/0.3264, allocations: 1.369 MB / 0.5705 GB, free: 32.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3264, allocations: 0 / 0.5705 GB, free: 32.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3264, allocations: 0 / 0.5705 GB, free: 32.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.3265, allocations: 0 / 0.5705 GB, free: 32.84 MB / 426.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.00608/0.3325, allocations: 2.279 MB / 0.5727 GB, free: 31.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3326, allocations: 8.812 kB / 0.5727 GB, free: 31.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004345/0.3369, allocations: 0.7745 MB / 0.5735 GB, free: 31.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000936/0.3379, allocations: 0.73 MB / 0.5742 GB, free: 31.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.3381, allocations: 271.7 kB / 0.5744 GB, free: 30.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.3382, allocations: 77.34 kB / 0.5745 GB, free: 30.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.3401, allocations: 1.185 MB / 0.5757 GB, free: 30.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.3401, allocations: 0 / 0.5757 GB, free: 30.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.799e-05/0.3402, allocations: 25.97 kB / 0.5757 GB, free: 30.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.3403, allocations: 14.69 kB / 0.5757 GB, free: 30.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.3422, allocations: 1.117 MB / 0.5768 GB, free: 30.16 MB / 426.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.00465/0.3468, allocations: 3.54 MB / 0.5803 GB, free: 28.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.3488, allocations: 1.553 MB / 0.5818 GB, free: 27.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.3501, allocations: 0.8194 MB / 0.5826 GB, free: 26.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.3502, allocations: 8.938 kB / 0.5826 GB, free: 26.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.3502, allocations: 46.5 kB / 0.5826 GB, free: 26.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=90): time 2.385e-06/0.3502, allocations: 2.344 kB / 0.5826 GB, free: 26.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=90): time 0.02443/0.3746, allocations: 8.548 MB / 0.591 GB, free: 25.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.3747, allocations: 86.64 kB / 0.5911 GB, free: 25.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.3759, allocations: 0.8242 MB / 0.5919 GB, free: 24.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.376, allocations: 42.67 kB / 0.5919 GB, free: 24.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.3763, allocations: 448.4 kB / 0.5923 GB, free: 24.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.3765, allocations: 326.5 kB / 0.5926 GB, free: 24.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.3767, allocations: 104.9 kB / 0.5927 GB, free: 24.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.3768, allocations: 347.7 kB / 0.5931 GB, free: 23.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.3784, allocations: 0.7826 MB / 0.5938 GB, free: 23.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.3801, allocations: 0.9212 MB / 0.5947 GB, free: 23.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003102/0.3832, allocations: 1.677 MB / 0.5964 GB, free: 22.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.3832, allocations: 0 / 0.5964 GB, free: 22.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01388/0.3971, allocations: 5.158 MB / 0.6014 GB, free: 21.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.3972, allocations: 157.1 kB / 0.6016 GB, free: 21.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3973, allocations: 3.312 kB / 0.6016 GB, free: 21.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006451/0.4037, allocations: 2.099 MB / 0.6036 GB, free: 20.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009616/0.4047, allocations: 202 kB / 0.6038 GB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0197/0.4244, allocations: 9.568 MB / 0.6132 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.4259, allocations: 204.7 kB / 0.6134 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.426, allocations: 44.22 kB / 0.6134 GB, free: 15.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/0.426, allocations: 4 kB / 0.6134 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01202/0.438, allocations: 5 MB / 0.6183 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.4381, allocations: 4 kB / 0.6183 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005571/0.4437, allocations: 2.1 MB / 0.6203 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009656/0.4447, allocations: 199.7 kB / 0.6205 GB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/0.4624, allocations: 9.538 MB / 0.6298 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.4638, allocations: 183.2 kB / 0.63 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.724e-05/0.4639, allocations: 47.97 kB / 0.6301 GB, free: 14.16 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 (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.0005716/0.4645, allocations: 312.8 kB / 0.6304 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.4647, allocations: 102.7 kB / 0.6305 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/0.4774, allocations: 4.828 MB / 0.6352 GB, free: 8.902 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.4774, allocations: 19.94 kB / 0.6352 GB, free: 8.883 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4774, allocations: 0 / 0.6352 GB, free: 8.883 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.4774, allocations: 3.984 kB / 0.6352 GB, free: 8.879 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.4921, allocations: 6.493 MB / 0.6415 GB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.4921, allocations: 0 / 0.6415 GB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005818/0.4927, allocations: 119.9 kB / 0.6417 GB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005704/0.4984, allocations: 2.053 MB / 0.6437 GB, free: 80 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.4986, allocations: 23.94 kB / 0.6437 GB, free: 56 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01678/0.5154, allocations: 8.207 MB / 0.6517 GB, free: 7.707 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.5154, allocations: 0 / 0.6517 GB, free: 7.707 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/0.53, allocations: 5.856 MB / 0.6574 GB, free: 1.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003446/0.5304, allocations: 195.5 kB / 0.6576 GB, free: 1.609 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.5305, allocations: 16 kB / 0.6576 GB, free: 1.594 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009083/0.5314, allocations: 143.9 kB / 0.6578 GB, free: 1.453 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005864/0.532, allocations: 204.5 kB / 0.6579 GB, free: 1.254 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.381e-05/0.5321, allocations: 20 kB / 0.658 GB, free: 1.234 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006472/0.5327, allocations: 0.5589 MB / 0.6585 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5327, allocations: 0 / 0.6585 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001783/0.5345, allocations: 0.6828 MB / 0.6592 GB, free: 15.98 MB / 474.7 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.0002321/0.5348, allocations: 119.8 kB / 0.6593 GB, free: 15.85 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01147/0.5463, allocations: 4.662 MB / 0.6638 GB, free: 11.17 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.5463, allocations: 0 / 0.6638 GB, free: 11.17 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004402/0.5507, allocations: 1.748 MB / 0.6656 GB, free: 9.406 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009866/0.5517, allocations: 87.42 kB / 0.6656 GB, free: 9.32 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/0.5555, allocations: 2.527 MB / 0.6681 GB, free: 6.773 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006561/0.5561, allocations: 1.082 MB / 0.6692 GB, free: 5.66 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000446/0.5566, allocations: 106.6 kB / 0.6693 GB, free: 5.551 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.5568, allocations: 59.42 kB / 0.6693 GB, free: 5.492 MB / 474.7 MB Notification: Performance of SimCode: time 1.813e-06/0.5568, allocations: 0 / 0.6693 GB, free: 5.492 MB / 474.7 MB Notification: Performance of Templates: time 0.03883/0.5956, allocations: 27.89 MB / 0.6966 GB, free: 9.641 MB / 0.4948 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)