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.001085/0.001089, allocations: 174 kB / 15.42 MB, free: 5.906 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.418/1.418, allocations: 222.9 MB / 239 MB, free: 1.781 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.0009322/0.0009322, allocations: 88.86 kB / 289.8 MB, free: 14.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5166/0.5166, allocations: 78.41 MB / 418.9 MB, free: 44.33 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 12 kB / 498.4 MB, free: 3.871 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3623, allocations: 68.76 MB / 0.5539 GB, free: 39.75 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.005945/0.3683, allocations: 6.455 MB / 0.5602 GB, free: 37.29 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00351/0.3719, allocations: 1.919 MB / 0.5621 GB, free: 36.51 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000641/0.3726, allocations: 14.81 kB / 0.5621 GB, free: 36.5 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00045/0.373, allocations: 156.5 kB / 0.5622 GB, free: 36.45 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.3744, allocations: 0.6236 MB / 0.5628 GB, free: 36.15 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.001312/0.3758, allocations: 0.5957 MB / 0.5634 GB, free: 36.03 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.3771, allocations: 1.293 MB / 0.5647 GB, free: 35.71 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003713/0.3774, allocations: 255.5 kB / 0.5649 GB, free: 35.63 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006661/0.3781, allocations: 0.4922 MB / 0.5654 GB, free: 35.48 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007698/0.3789, allocations: 0.6288 MB / 0.566 GB, free: 35.3 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.3791, allocations: 51 kB / 0.5661 GB, free: 35.3 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004797/0.3796, allocations: 188.2 kB / 0.5662 GB, free: 35.28 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.3798, allocations: 213.2 kB / 0.5665 GB, free: 35.21 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.3802, allocations: 0.5302 MB / 0.567 GB, free: 34.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.3813, allocations: 1.375 MB / 0.5683 GB, free: 34.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3813, allocations: 0 / 0.5683 GB, free: 34.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3813, allocations: 0 / 0.5683 GB, free: 34.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.3813, allocations: 1.188 kB / 0.5683 GB, free: 34.39 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.006341/0.3877, allocations: 2.215 MB / 0.5705 GB, free: 33.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3877, allocations: 10.66 kB / 0.5705 GB, free: 33.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004632/0.3924, allocations: 0.7621 MB / 0.5712 GB, free: 33.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.3935, allocations: 0.7329 MB / 0.5719 GB, free: 32.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.3938, allocations: 255.1 kB / 0.5722 GB, free: 32.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.3939, allocations: 77.09 kB / 0.5723 GB, free: 32.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.396, allocations: 1.103 MB / 0.5733 GB, free: 32.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.396, allocations: 0 / 0.5733 GB, free: 32.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.473e-05/0.3961, allocations: 25.91 kB / 0.5734 GB, free: 32.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.3962, allocations: 17.25 kB / 0.5734 GB, free: 32.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.3981, allocations: 1.027 MB / 0.5744 GB, free: 31.74 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.005367/0.4035, allocations: 3.464 MB / 0.5778 GB, free: 29.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.4054, allocations: 1.445 MB / 0.5792 GB, free: 28.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.4067, allocations: 0.7448 MB / 0.5799 GB, free: 28.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.4069, allocations: 13.67 kB / 0.5799 GB, free: 28.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.4069, allocations: 42.5 kB / 0.58 GB, free: 28.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=90): time 2.926e-06/0.4069, allocations: 0 / 0.58 GB, free: 28.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=90): time 0.02412/0.431, allocations: 6.898 MB / 0.5867 GB, free: 27.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.4311, allocations: 87.36 kB / 0.5868 GB, free: 27.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000976/0.4321, allocations: 0.823 MB / 0.5876 GB, free: 26.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000171/0.4323, allocations: 40.77 kB / 0.5876 GB, free: 26.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.4325, allocations: 454.1 kB / 0.5881 GB, free: 26.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/0.4328, allocations: 325 kB / 0.5884 GB, free: 26.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.4329, allocations: 105.5 kB / 0.5885 GB, free: 26.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.282e-05/0.433, allocations: 353.5 kB / 0.5888 GB, free: 25.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.4344, allocations: 0.7003 MB / 0.5895 GB, free: 25.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.4359, allocations: 0.8393 MB / 0.5903 GB, free: 25.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002682/0.4386, allocations: 1.521 MB / 0.5918 GB, free: 24.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.4386, allocations: 0.5 kB / 0.5918 GB, free: 24.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01353/0.4521, allocations: 4.229 MB / 0.5959 GB, free: 23.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.9e-05/0.4523, allocations: 160.2 kB / 0.5961 GB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.4523, allocations: 2.312 kB / 0.5961 GB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006497/0.4588, allocations: 1.788 MB / 0.5978 GB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.4599, allocations: 196.3 kB / 0.598 GB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02034/0.4802, allocations: 8.569 MB / 0.6064 GB, free: 18.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.4818, allocations: 170.1 kB / 0.6065 GB, free: 18.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.482, allocations: 39.39 kB / 0.6066 GB, free: 18.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.482, allocations: 3.562 kB / 0.6066 GB, free: 18.32 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01239/0.4944, allocations: 4.094 MB / 0.6106 GB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.4944, allocations: 1.344 kB / 0.6106 GB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005771/0.5002, allocations: 1.795 MB / 0.6123 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009078/0.5011, allocations: 187.7 kB / 0.6125 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/0.5182, allocations: 8.54 MB / 0.6209 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.5198, allocations: 151.2 kB / 0.621 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.362e-05/0.5199, allocations: 43.92 kB / 0.621 GB, free: 6.285 MB / 426.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.0005453/0.5204, allocations: 308.9 kB / 0.6213 GB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.5206, allocations: 106.7 kB / 0.6214 GB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/0.5319, allocations: 3.908 MB / 0.6253 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.5319, allocations: 15.92 kB / 0.6253 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.532, allocations: 0 / 0.6253 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.8e-05/0.532, allocations: 3.984 kB / 0.6253 GB, free: 1.926 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/0.5465, allocations: 5.574 MB / 0.6307 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.5465, allocations: 3.938 kB / 0.6307 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007072/0.5473, allocations: 111.8 kB / 0.6308 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005748/0.553, allocations: 1.748 MB / 0.6325 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002389/0.5533, allocations: 19.94 kB / 0.6325 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01647/0.5698, allocations: 7.331 MB / 0.6397 GB, free: 2.863 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.5698, allocations: 0 / 0.6397 GB, free: 2.863 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/0.5841, allocations: 4.864 MB / 0.6445 GB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004514/0.5846, allocations: 195.5 kB / 0.6446 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.5848, allocations: 16 kB / 0.6447 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009255/0.5857, allocations: 103.9 kB / 0.6448 GB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006099/0.5863, allocations: 200.6 kB / 0.6449 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.539e-05/0.5864, allocations: 20 kB / 0.645 GB, free: 13.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006945/0.5871, allocations: 0.551 MB / 0.6455 GB, free: 12.86 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5871, allocations: 4 kB / 0.6455 GB, free: 12.86 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001989/0.5891, allocations: 0.6866 MB / 0.6462 GB, free: 12.17 MB / 458.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.000285/0.5894, allocations: 119.2 kB / 0.6463 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01092/0.6003, allocations: 4.105 MB / 0.6503 GB, free: 7.922 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.6004, allocations: 64 / 0.6503 GB, free: 7.922 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004571/0.605, allocations: 1.513 MB / 0.6518 GB, free: 6.391 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.606, allocations: 87.41 kB / 0.6519 GB, free: 6.305 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/0.6101, allocations: 2.415 MB / 0.6542 GB, free: 3.863 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000633/0.6107, allocations: 1.089 MB / 0.6553 GB, free: 2.746 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004881/0.6112, allocations: 106.8 kB / 0.6554 GB, free: 2.637 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.6114, allocations: 59.42 kB / 0.6554 GB, free: 2.578 MB / 458.7 MB Notification: Performance of SimCode: time 6.01e-07/0.6114, allocations: 0 / 0.6554 GB, free: 2.578 MB / 458.7 MB Notification: Performance of Templates: time 0.04002/0.6515, allocations: 27.89 MB / 0.6827 GB, free: 6.746 MB / 490.7 MB 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)