Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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 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_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.00104/0.00104, allocations: 174.1 kB / 12.73 MB, free: 2.59 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.27/1.27, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008325/0.0008325, allocations: 90.34 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4616/0.4616, allocations: 78.03 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.859e-05/2.869e-05, allocations: 4 kB / 491.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3266, allocations: 69.34 MB / 0.5479 GB, free: 20.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.4463, allocations: 98.53 MB / 0.6442 GB, free: 1.898 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.4466, allocations: 79.95 kB / 0.6442 GB, free: 1.82 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06436/0.511, allocations: 24.68 MB / 0.6683 GB, free: 8.961 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.511, allocations: 3.938 kB / 0.6684 GB, free: 8.957 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.228e-05/0.5111, allocations: 19.94 kB / 0.6684 GB, free: 8.938 MB / 490.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.004485/0.5156, allocations: 1.679 MB / 0.67 GB, free: 7.211 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.5156, allocations: 11.97 kB / 0.67 GB, free: 7.199 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003254/0.5189, allocations: 0.5448 MB / 0.6706 GB, free: 6.652 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.5204, allocations: 0.6991 MB / 0.6712 GB, free: 5.906 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/0.5207, allocations: 276 kB / 0.6715 GB, free: 5.602 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.5208, allocations: 75.95 kB / 0.6716 GB, free: 5.527 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.5225, allocations: 0.9033 MB / 0.6725 GB, free: 4.609 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.5225, allocations: 3.984 kB / 0.6725 GB, free: 4.605 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.5226, allocations: 31.98 kB / 0.6725 GB, free: 4.574 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.5226, allocations: 16 kB / 0.6725 GB, free: 4.559 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001871/0.5245, allocations: 0.8085 MB / 0.6733 GB, free: 3.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008745/0.5333, allocations: 3.566 MB / 0.6768 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3573/0.8906, allocations: 1.26 MB / 0.678 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009802/0.8916, allocations: 0.5739 MB / 0.6786 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.8918, allocations: 11.59 kB / 0.6786 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.8918, allocations: 42.97 kB / 0.6786 GB, free: 105.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.567e-06/0.8918, allocations: 0 / 0.6786 GB, free: 105.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01404/0.9059, allocations: 4.021 MB / 0.6825 GB, free: 105.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.906, allocations: 95 kB / 0.6826 GB, free: 105.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.9073, allocations: 0.6854 MB / 0.6833 GB, free: 105.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002279/0.9076, allocations: 40.83 kB / 0.6833 GB, free: 105.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/0.9079, allocations: 471.8 kB / 0.6838 GB, free: 105.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003292/0.9083, allocations: 313.2 kB / 0.6841 GB, free: 104.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.9083, allocations: 16.41 kB / 0.6841 GB, free: 104.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.522e-05/0.9084, allocations: 341.6 kB / 0.6844 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008128/0.9093, allocations: 444.5 kB / 0.6849 GB, free: 104.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00076/0.91, allocations: 0.5431 MB / 0.6854 GB, free: 104.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007011/0.9107, allocations: 477.8 kB / 0.6858 GB, free: 104.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.9107, allocations: 3.375 kB / 0.6858 GB, free: 104.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01152/0.9223, allocations: 4.181 MB / 0.6899 GB, free: 104.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002/0.9225, allocations: 0.8773 MB / 0.6908 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.328e-05/0.9225, allocations: 3.812 kB / 0.6908 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00525/0.9278, allocations: 1.743 MB / 0.6925 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/0.9285, allocations: 145.4 kB / 0.6926 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/0.9419, allocations: 7.293 MB / 0.6998 GB, free: 99.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.9434, allocations: 187.2 kB / 0.6999 GB, free: 99.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.528e-05/0.9435, allocations: 30.5 kB / 0.7 GB, free: 99.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.9435, allocations: 7.438 kB / 0.7 GB, free: 99.34 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01144/0.9549, allocations: 4.052 MB / 0.7039 GB, free: 98.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/0.955, allocations: 3.625 kB / 0.7039 GB, free: 98.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00525/0.9603, allocations: 1.739 MB / 0.7056 GB, free: 97.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007052/0.961, allocations: 140 kB / 0.7058 GB, free: 97.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01339/0.9744, allocations: 7.288 MB / 0.7129 GB, free: 90.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.9758, allocations: 179.9 kB / 0.7131 GB, free: 90.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.445e-05/0.9759, allocations: 30.95 kB / 0.7131 GB, free: 90.32 MB / 490.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002395/0.9762, allocations: 143 kB / 0.7132 GB, free: 90.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.9763, allocations: 106.7 kB / 0.7133 GB, free: 90.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/0.9876, allocations: 4.152 MB / 0.7174 GB, free: 86.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.9876, allocations: 12 kB / 0.7174 GB, free: 86.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9877, allocations: 0 / 0.7174 GB, free: 86.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/0.9877, allocations: 11.3 kB / 0.7174 GB, free: 86.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/1.001, allocations: 5.817 MB / 0.7231 GB, free: 82.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/1.001, allocations: 7.422 kB / 0.7231 GB, free: 82.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006391/1.002, allocations: 109.7 kB / 0.7232 GB, free: 82.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004978/1.007, allocations: 1.679 MB / 0.7248 GB, free: 80.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/1.007, allocations: 26.75 kB / 0.7249 GB, free: 80.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/1.018, allocations: 6.323 MB / 0.731 GB, free: 74.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.018, allocations: 7.953 kB / 0.731 GB, free: 74.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/1.03, allocations: 4.902 MB / 0.7358 GB, free: 69.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003971/1.031, allocations: 199.5 kB / 0.736 GB, free: 69.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/1.031, allocations: 16 kB / 0.736 GB, free: 69.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/1.032, allocations: 143.8 kB / 0.7362 GB, free: 69.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005703/1.032, allocations: 208.3 kB / 0.7364 GB, free: 68.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.599e-05/1.032, allocations: 28 kB / 0.7364 GB, free: 68.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005775/1.033, allocations: 0.5396 MB / 0.7369 GB, free: 68.33 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.033, allocations: 0 / 0.7369 GB, free: 68.33 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001537/1.035, allocations: 0.6549 MB / 0.7376 GB, free: 67.68 MB / 490.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.000241/1.035, allocations: 143.7 kB / 0.7377 GB, free: 67.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008432/1.043, allocations: 3.547 MB / 0.7412 GB, free: 63.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.043, allocations: 4 kB / 0.7412 GB, free: 63.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003734/1.047, allocations: 1.475 MB / 0.7426 GB, free: 62.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006725/1.048, allocations: 71.42 kB / 0.7427 GB, free: 62.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/1.05, allocations: 1.518 MB / 0.7442 GB, free: 60.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/1.051, allocations: 1.102 MB / 0.7452 GB, free: 59.75 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005523/1.051, allocations: 139.8 kB / 0.7454 GB, free: 59.61 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/1.051, allocations: 43.44 kB / 0.7454 GB, free: 59.57 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/1.052, allocations: 0 / 0.7454 GB, free: 59.57 MB / 490.7 MB Notification: Performance of Templates: time 0.03371/1.085, allocations: 28.21 MB / 0.773 GB, free: 31.68 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)