Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 109.9 kB / 16.42 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 240.1 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 184.5 kB / 290.4 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.531/0.531, allocations: 91.91 MB / 432.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 78.36 kB / 0.5734 GB, free: 33.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1732, allocations: 71.28 MB / 0.643 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR): time 0.007802/0.181, allocations: 6.104 MB / 0.649 GB, free: 13.42 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004796/0.1859, allocations: 1.849 MB / 0.6508 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.1872, allocations: 11.94 kB / 0.6508 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008891/0.1882, allocations: 210.2 kB / 0.651 GB, free: 11.35 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.1911, allocations: 0.7472 MB / 0.6517 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.193, allocations: 0.6423 MB / 0.6524 GB, free: 9.965 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002818/0.1958, allocations: 1.354 MB / 0.6537 GB, free: 8.605 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007493/0.1966, allocations: 287.2 kB / 0.6539 GB, free: 8.312 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.1979, allocations: 0.5601 MB / 0.6545 GB, free: 7.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.1992, allocations: 0.6883 MB / 0.6552 GB, free: 7.059 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004299/0.1997, allocations: 96 kB / 0.6553 GB, free: 6.965 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009017/0.2006, allocations: 235.9 kB / 0.6555 GB, free: 6.734 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000461/0.2011, allocations: 266.8 kB / 0.6557 GB, free: 6.473 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.2022, allocations: 0.5825 MB / 0.6563 GB, free: 5.887 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.2048, allocations: 1.463 MB / 0.6577 GB, free: 4.418 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.2048, allocations: 0 / 0.6577 GB, free: 4.418 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2048, allocations: 0 / 0.6577 GB, free: 4.418 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.955e-05/0.2049, allocations: 0 / 0.6577 GB, free: 4.418 MB / 462.1 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.009129/0.214, allocations: 2.48 MB / 0.6602 GB, free: 1.883 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.2141, allocations: 8.031 kB / 0.6602 GB, free: 1.875 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005221/0.2193, allocations: 0.7758 MB / 0.6609 GB, free: 1.098 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/0.221, allocations: 0.7447 MB / 0.6616 GB, free: 320 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003552/0.2214, allocations: 260.2 kB / 0.6619 GB, free: 20 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003227/0.2217, allocations: 79.98 kB / 0.662 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/0.2244, allocations: 1.09 MB / 0.663 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.2245, allocations: 0 / 0.663 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.2246, allocations: 28 kB / 0.6631 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.2246, allocations: 20 kB / 0.6631 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002377/0.227, allocations: 1.027 MB / 0.6641 GB, free: 13.76 MB / 478.1 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.006466/0.2334, allocations: 3.504 MB / 0.6675 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.236, allocations: 1.448 MB / 0.6689 GB, free: 8.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.2375, allocations: 0.7378 MB / 0.6696 GB, free: 7.781 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.2376, allocations: 13 kB / 0.6697 GB, free: 7.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.2376, allocations: 43.56 kB / 0.6697 GB, free: 7.719 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 3.607e-06/0.2376, allocations: 0 / 0.6697 GB, free: 7.719 MB / 478.1 MB Notification: Performance of matching and sorting (n=89): time 0.02471/0.2624, allocations: 6.442 MB / 0.676 GB, free: 1.242 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.2625, allocations: 90.11 kB / 0.6761 GB, free: 1.137 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.2638, allocations: 0.832 MB / 0.6769 GB, free: 288 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002316/0.264, allocations: 41.7 kB / 0.6769 GB, free: 240 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/0.2644, allocations: 461.2 kB / 0.6774 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004771/0.2649, allocations: 341 kB / 0.6777 GB, free: 15.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005394/0.2654, allocations: 194.9 kB / 0.6779 GB, free: 15.24 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2656, allocations: 353.9 kB / 0.6782 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.2672, allocations: 0.7048 MB / 0.6789 GB, free: 14.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.2689, allocations: 0.8315 MB / 0.6797 GB, free: 13.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00312/0.272, allocations: 1.502 MB / 0.6812 GB, free: 11.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.2721, allocations: 0 / 0.6812 GB, free: 11.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.01355/0.2856, allocations: 4.23 MB / 0.6853 GB, free: 7.539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.2857, allocations: 4 kB / 0.6853 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.2857, allocations: 4 kB / 0.6853 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00648/0.2922, allocations: 1.783 MB / 0.6871 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.2933, allocations: 199.7 kB / 0.6873 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02239/0.3157, allocations: 9.329 MB / 0.6964 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.3174, allocations: 167.2 kB / 0.6965 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/0.3176, allocations: 35.98 kB / 0.6966 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001975/0.3196, allocations: 0.8543 MB / 0.6974 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001686/0.3213, allocations: 0.8159 MB / 0.6982 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003096/0.3244, allocations: 1.479 MB / 0.6996 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.062e-06/0.3245, allocations: 0 / 0.6996 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=142) (initialization_lambda0): time 0.01349/0.338, allocations: 4.203 MB / 0.7037 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.338, allocations: 8 kB / 0.7037 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.338, allocations: 0 / 0.7037 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006179/0.3442, allocations: 1.796 MB / 0.7055 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009745/0.3452, allocations: 175.8 kB / 0.7057 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02178/0.367, allocations: 9.341 MB / 0.7148 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.3686, allocations: 155.3 kB / 0.7149 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/0.3689, allocations: 47.86 kB / 0.715 GB, free: 8.773 MB / 0.5137 GB 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.0004202/0.3693, allocations: 232.1 kB / 0.7152 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/0.3697, allocations: 119.2 kB / 0.7153 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/0.3823, allocations: 3.912 MB / 0.7191 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/0.3824, allocations: 3.984 kB / 0.7191 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3824, allocations: 4 kB / 0.7191 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004738/0.3829, allocations: 204.1 kB / 0.7193 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000334/0.3832, allocations: 16 kB / 0.7194 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.3844, allocations: 95.89 kB / 0.7194 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001271/0.3857, allocations: 488.2 kB / 0.7199 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00603/0.3917, allocations: 2.016 MB / 0.7219 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004665/0.3964, allocations: 2.17 MB / 0.724 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001314/0.3977, allocations: 0.57 MB / 0.7246 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008164/0.3986, allocations: 0.5589 MB / 0.7251 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of Backend: time 5.61e-07/0.3986, allocations: 0 / 0.7251 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01107/0.4096, allocations: 3.714 MB / 0.7287 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of SimCode: time 0.004052/0.4137, allocations: 2.544 MB / 0.7312 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of Templates: time 0.0548/0.4685, allocations: 33.04 MB / 0.7635 GB, free: 6.945 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)