Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008722/0.0008723, allocations: 177.4 kB / 15.45 MB, free: 6.23 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.254/1.254, allocations: 223.3 MB / 239.5 MB, free: 15.7 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.000747/0.0007471, allocations: 107.5 kB / 290.7 MB, free: 4.629 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5414/0.5414, allocations: 78.63 MB / 420.4 MB, free: 36.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003369, allocations: 8 kB / 0.4888 GB, free: 6.832 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1291, allocations: 69.36 MB / 0.5565 GB, free: 1.402 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.005608/0.1347, allocations: 5.962 MB / 0.5623 GB, free: 11.41 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003533/0.1383, allocations: 1.884 MB / 0.5642 GB, free: 9.516 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005143/0.1388, allocations: 11.94 kB / 0.5642 GB, free: 9.504 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004242/0.1393, allocations: 166.9 kB / 0.5644 GB, free: 9.34 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.1407, allocations: 0.6206 MB / 0.565 GB, free: 8.723 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1419, allocations: 0.5838 MB / 0.5655 GB, free: 8.145 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.1432, allocations: 1.28 MB / 0.5668 GB, free: 6.859 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/0.1435, allocations: 255.7 kB / 0.567 GB, free: 6.598 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005065/0.1441, allocations: 0.4937 MB / 0.5675 GB, free: 6.102 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005749/0.1446, allocations: 0.6259 MB / 0.5681 GB, free: 5.473 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.1448, allocations: 52 kB / 0.5682 GB, free: 5.422 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003757/0.1451, allocations: 191.9 kB / 0.5684 GB, free: 5.234 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.1453, allocations: 210.8 kB / 0.5686 GB, free: 5.027 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004059/0.1457, allocations: 0.5568 MB / 0.5691 GB, free: 4.461 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.1469, allocations: 1.366 MB / 0.5704 GB, free: 3.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1469, allocations: 0 / 0.5704 GB, free: 3.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1469, allocations: 0 / 0.5704 GB, free: 3.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.1469, allocations: 0 / 0.5704 GB, free: 3.09 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.00663/0.1535, allocations: 2.275 MB / 0.5727 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1536, allocations: 12.03 kB / 0.5727 GB, free: 0.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2424/0.396, allocations: 0.7722 MB / 0.5734 GB, free: 44.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.3973, allocations: 0.73 MB / 0.5741 GB, free: 44.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/0.3976, allocations: 266.1 kB / 0.5744 GB, free: 44.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.3978, allocations: 77.03 kB / 0.5745 GB, free: 44.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.3998, allocations: 1.171 MB / 0.5756 GB, free: 44.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.3999, allocations: 2.281 kB / 0.5756 GB, free: 44.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-05/0.3999, allocations: 29.62 kB / 0.5756 GB, free: 44.31 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.4, allocations: 17.28 kB / 0.5756 GB, free: 44.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.402, allocations: 1.121 MB / 0.5767 GB, free: 44.3 MB / 442.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.005014/0.407, allocations: 3.582 MB / 0.5802 GB, free: 43.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.4092, allocations: 1.558 MB / 0.5818 GB, free: 42.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.4106, allocations: 0.8199 MB / 0.5826 GB, free: 42.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.4108, allocations: 19.52 kB / 0.5826 GB, free: 42.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.4108, allocations: 42.25 kB / 0.5826 GB, free: 42.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=89): time 2.936e-06/0.4108, allocations: 0 / 0.5826 GB, free: 42.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=89): time 0.02354/0.4343, allocations: 7.978 MB / 0.5904 GB, free: 42.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.4344, allocations: 86.36 kB / 0.5905 GB, free: 42.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.4356, allocations: 0.8368 MB / 0.5913 GB, free: 41.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.4358, allocations: 47.17 kB / 0.5914 GB, free: 41.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003072/0.4361, allocations: 453.6 kB / 0.5918 GB, free: 41.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/0.4363, allocations: 318 kB / 0.5921 GB, free: 41.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.4365, allocations: 102.8 kB / 0.5922 GB, free: 41.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.868e-05/0.4365, allocations: 349.8 kB / 0.5925 GB, free: 41.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.438, allocations: 0.7726 MB / 0.5933 GB, free: 40.85 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.4394, allocations: 0.9124 MB / 0.5942 GB, free: 40.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002632/0.442, allocations: 1.659 MB / 0.5958 GB, free: 39.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.442, allocations: 4 kB / 0.5958 GB, free: 39.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01185/0.4539, allocations: 5.137 MB / 0.6008 GB, free: 38.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.844e-05/0.454, allocations: 158.5 kB / 0.601 GB, free: 38.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.454, allocations: 3 kB / 0.601 GB, free: 38.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005586/0.4596, allocations: 2.1 MB / 0.603 GB, free: 38.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008358/0.4604, allocations: 194.7 kB / 0.6032 GB, free: 38.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01909/0.4795, allocations: 9.587 MB / 0.6126 GB, free: 33.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.4809, allocations: 203.6 kB / 0.6128 GB, free: 33.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.4811, allocations: 42.14 kB / 0.6128 GB, free: 33.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.4811, allocations: 4.25 kB / 0.6128 GB, free: 33.86 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01292/0.494, allocations: 4.986 MB / 0.6177 GB, free: 32.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.4941, allocations: 4.016 kB / 0.6177 GB, free: 32.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006042/0.5001, allocations: 2.1 MB / 0.6197 GB, free: 32.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008972/0.501, allocations: 190.9 kB / 0.6199 GB, free: 32.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01982/0.5209, allocations: 9.559 MB / 0.6292 GB, free: 28.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.5221, allocations: 186 kB / 0.6294 GB, free: 28.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.5223, allocations: 38.8 kB / 0.6295 GB, free: 28.25 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 (106): * Single equations (assignments): 105 * 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.0005406/0.5228, allocations: 312.5 kB / 0.6298 GB, free: 27.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.5231, allocations: 109.8 kB / 0.6299 GB, free: 27.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.5352, allocations: 4.841 MB / 0.6346 GB, free: 24.33 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.5352, allocations: 8 kB / 0.6346 GB, free: 24.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.5352, allocations: 0 / 0.6346 GB, free: 24.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.5353, allocations: 7.969 kB / 0.6346 GB, free: 24.31 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/0.5485, allocations: 6.548 MB / 0.641 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.5485, allocations: 0 / 0.641 GB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/0.5491, allocations: 115.8 kB / 0.6411 GB, free: 17.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005105/0.5542, allocations: 2.054 MB / 0.6431 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.5544, allocations: 16 kB / 0.6431 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01487/0.5692, allocations: 8.228 MB / 0.6512 GB, free: 7.094 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.5693, allocations: 0 / 0.6512 GB, free: 7.094 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01292/0.5822, allocations: 5.816 MB / 0.6568 GB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/0.5826, allocations: 197.1 kB / 0.657 GB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002471/0.5828, allocations: 16 kB / 0.657 GB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/0.5838, allocations: 143.8 kB / 0.6572 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006026/0.5844, allocations: 204.6 kB / 0.6574 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-05/0.5845, allocations: 24 kB / 0.6574 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006131/0.5851, allocations: 0.5511 MB / 0.6579 GB, free: 100 kB / 442.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5851, allocations: 0 / 0.6579 GB, free: 100 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.002237/0.5873, allocations: 0.6852 MB / 0.6586 GB, free: 15.41 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1) * 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 (56): * Single equations (assignments): 55 * 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.0002684/0.5876, allocations: 134.4 kB / 0.6587 GB, free: 15.28 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01165/0.5993, allocations: 4.636 MB / 0.6633 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.5993, allocations: 0 / 0.6633 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004536/0.6039, allocations: 1.746 MB / 0.665 GB, free: 8.891 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000908/0.6048, allocations: 84.97 kB / 0.6651 GB, free: 8.809 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.6087, allocations: 2.461 MB / 0.6675 GB, free: 6.344 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007135/0.6095, allocations: 1.082 MB / 0.6685 GB, free: 5.234 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000472/0.61, allocations: 105.5 kB / 0.6686 GB, free: 5.133 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.6102, allocations: 59.42 kB / 0.6687 GB, free: 5.078 MB / 458.7 MB Notification: Performance of SimCode: time 4.11e-07/0.6102, allocations: 0 / 0.6687 GB, free: 5.078 MB / 458.7 MB Notification: Performance of Templates: time 0.04249/0.6527, allocations: 27.93 MB / 0.6959 GB, free: 9.301 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)