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.0009544/0.0009546, allocations: 175.1 kB / 16.07 MB, free: 5.566 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.386/1.386, allocations: 222.9 MB / 239.7 MB, free: 10 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000937/0.000937, allocations: 103 kB / 290.5 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5439/0.5439, allocations: 78.41 MB / 419.6 MB, free: 9.652 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003643, allocations: 15.94 kB / 499.1 MB, free: 10.6 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2923, allocations: 68.75 MB / 0.5545 GB, free: 20.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR): time 0.005289/0.2976, allocations: 6.457 MB / 0.5608 GB, free: 13.69 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003192/0.3008, allocations: 1.915 MB / 0.5627 GB, free: 11.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007964/0.3017, allocations: 15.94 kB / 0.5627 GB, free: 11.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004607/0.3022, allocations: 159 kB / 0.5629 GB, free: 11.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.3036, allocations: 0.627 MB / 0.5635 GB, free: 10.97 MB / 378.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.001146/0.3048, allocations: 0.587 MB / 0.564 GB, free: 10.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.3058, allocations: 1.296 MB / 0.5653 GB, free: 9.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002972/0.3061, allocations: 255.7 kB / 0.5655 GB, free: 8.828 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004497/0.3066, allocations: 0.5014 MB / 0.566 GB, free: 8.324 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004525/0.3071, allocations: 0.6298 MB / 0.5667 GB, free: 7.691 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.932e-05/0.3072, allocations: 52 kB / 0.5667 GB, free: 7.641 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003725/0.3075, allocations: 179.8 kB / 0.5669 GB, free: 7.465 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.3077, allocations: 210.9 kB / 0.5671 GB, free: 7.258 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.308, allocations: 0.5317 MB / 0.5676 GB, free: 6.723 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007145/0.3087, allocations: 1.065 MB / 0.5686 GB, free: 5.656 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.3087, allocations: 0 / 0.5686 GB, free: 5.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3087, allocations: 0 / 0.5686 GB, free: 5.656 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.3087, allocations: 0 / 0.5686 GB, free: 5.656 MB / 378.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.00677/0.3155, allocations: 2.22 MB / 0.5708 GB, free: 3.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.3156, allocations: 8.031 kB / 0.5708 GB, free: 3.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004724/0.3203, allocations: 0.7633 MB / 0.5716 GB, free: 2.609 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.3215, allocations: 0.7322 MB / 0.5723 GB, free: 1.836 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002356/0.3218, allocations: 260.2 kB / 0.5725 GB, free: 1.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.3219, allocations: 79.84 kB / 0.5726 GB, free: 1.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.3237, allocations: 1.09 MB / 0.5737 GB, free: 372 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.3238, allocations: 0 / 0.5737 GB, free: 372 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.072e-05/0.3239, allocations: 39.88 kB / 0.5737 GB, free: 332 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3239, allocations: 20 kB / 0.5737 GB, free: 312 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.3261, allocations: 1.027 MB / 0.5747 GB, free: 15.28 MB / 394.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.006114/0.3322, allocations: 3.469 MB / 0.5781 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.3345, allocations: 1.428 MB / 0.5795 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.3359, allocations: 0.7417 MB / 0.5802 GB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.336, allocations: 20.97 kB / 0.5802 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.336, allocations: 43.56 kB / 0.5803 GB, free: 9.289 MB / 394.7 MB Notification: Performance of pre-optimization done (n=90): time 3.347e-06/0.336, allocations: 4 kB / 0.5803 GB, free: 9.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=90): time 0.02585/0.3619, allocations: 6.894 MB / 0.587 GB, free: 2.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.362, allocations: 90.11 kB / 0.5871 GB, free: 2.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.3631, allocations: 0.8241 MB / 0.5879 GB, free: 1.402 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002168/0.3633, allocations: 41.7 kB / 0.588 GB, free: 1.355 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.3636, allocations: 448.6 kB / 0.5884 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003185/0.364, allocations: 327.4 kB / 0.5887 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.3641, allocations: 105.6 kB / 0.5888 GB, free: 488 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3642, allocations: 345.9 kB / 0.5891 GB, free: 136 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.3657, allocations: 0.7093 MB / 0.5898 GB, free: 15.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.3672, allocations: 0.8392 MB / 0.5906 GB, free: 14.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/0.3701, allocations: 1.518 MB / 0.5921 GB, free: 13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3702, allocations: 0 / 0.5921 GB, free: 13 MB / 410.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01301/0.3832, allocations: 4.241 MB / 0.5963 GB, free: 8.742 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.3833, allocations: 155.9 kB / 0.5964 GB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.3833, allocations: 4 kB / 0.5964 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005997/0.3893, allocations: 1.776 MB / 0.5981 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00098/0.3903, allocations: 195.7 kB / 0.5983 GB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0188/0.4092, allocations: 8.592 MB / 0.6067 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.4106, allocations: 163 kB / 0.6069 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.4107, allocations: 39.98 kB / 0.6069 GB, free: 13.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.4107, allocations: 0 / 0.6069 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01254/0.4233, allocations: 4.097 MB / 0.6109 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.4233, allocations: 0 / 0.6109 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005828/0.4291, allocations: 1.776 MB / 0.6127 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009382/0.4301, allocations: 195.7 kB / 0.6128 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01876/0.4489, allocations: 8.539 MB / 0.6212 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.4503, allocations: 151.2 kB / 0.6213 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.88e-05/0.4504, allocations: 39.98 kB / 0.6214 GB, free: 14.71 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.0005196/0.4509, allocations: 312.8 kB / 0.6217 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.4511, allocations: 106.7 kB / 0.6218 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/0.4632, allocations: 3.907 MB / 0.6256 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.4633, allocations: 11.94 kB / 0.6256 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.4633, allocations: 8 kB / 0.6256 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-05/0.4633, allocations: 7.969 kB / 0.6256 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/0.4776, allocations: 5.567 MB / 0.631 GB, free: 4.637 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.4776, allocations: 4 kB / 0.631 GB, free: 4.633 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006223/0.4783, allocations: 107.9 kB / 0.6311 GB, free: 4.527 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005415/0.4837, allocations: 1.745 MB / 0.6329 GB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/0.4839, allocations: 23.94 kB / 0.6329 GB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01576/0.4996, allocations: 7.336 MB / 0.64 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4997, allocations: 0 / 0.64 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0143/0.514, allocations: 4.856 MB / 0.6448 GB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003796/0.5144, allocations: 195.5 kB / 0.645 GB, free: 6.176 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.5145, allocations: 20 kB / 0.645 GB, free: 6.156 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000912/0.5155, allocations: 91.89 kB / 0.6451 GB, free: 6.066 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006006/0.5161, allocations: 212.5 kB / 0.6453 GB, free: 5.859 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/0.5161, allocations: 20 kB / 0.6453 GB, free: 5.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006578/0.5168, allocations: 0.5511 MB / 0.6458 GB, free: 5.277 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5168, allocations: 3.938 kB / 0.6458 GB, free: 5.273 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00185/0.5187, allocations: 0.6905 MB / 0.6465 GB, free: 4.582 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.0002727/0.519, allocations: 127.3 kB / 0.6466 GB, free: 4.449 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01093/0.5299, allocations: 4.101 MB / 0.6506 GB, free: 336 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.5299, allocations: 0 / 0.6506 GB, free: 336 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00434/0.5343, allocations: 1.515 MB / 0.6521 GB, free: 14.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000956/0.5353, allocations: 87.42 kB / 0.6522 GB, free: 14.71 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.539, allocations: 2.452 MB / 0.6546 GB, free: 12.22 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/0.5397, allocations: 1.082 MB / 0.6557 GB, free: 11.11 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.5399, allocations: 63.42 kB / 0.6557 GB, free: 11.05 MB / 474.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5399, allocations: 0 / 0.6557 GB, free: 11.05 MB / 474.7 MB Notification: Performance of Templates: time 0.0253/0.5653, allocations: 20.02 MB / 0.6753 GB, free: 7.008 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)