Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.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.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001255, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0009618/0.0009619, allocations: 87.86 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5028/0.5028, allocations: 78.94 MB / 410.2 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.534e-05/1.537e-05, allocations: 4 kB / 485.9 MB, free: 11.51 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1551, allocations: 69.51 MB / 0.5424 GB, free: 5.898 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4592/0.6144, allocations: 97.82 MB / 0.638 GB, free: 296 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.6147, allocations: 77.03 kB / 0.638 GB, free: 220 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06795/0.6826, allocations: 24.62 MB / 0.6621 GB, free: 7.664 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.6827, allocations: 0 / 0.6621 GB, free: 7.664 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.54e-05/0.6827, allocations: 27.94 kB / 0.6621 GB, free: 7.637 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00463/0.6874, allocations: 1.636 MB / 0.6637 GB, free: 5.957 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.6874, allocations: 12.03 kB / 0.6637 GB, free: 5.945 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003339/0.6908, allocations: 0.541 MB / 0.6642 GB, free: 5.402 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.6924, allocations: 0.7112 MB / 0.6649 GB, free: 4.652 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000279/0.6927, allocations: 240.2 kB / 0.6652 GB, free: 4.383 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.6928, allocations: 39.91 kB / 0.6652 GB, free: 4.344 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001351/0.6942, allocations: 0.7608 MB / 0.6659 GB, free: 3.586 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.6954, allocations: 0.718 MB / 0.6666 GB, free: 2.859 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.6955, allocations: 0 / 0.6666 GB, free: 2.859 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.567e-05/0.6955, allocations: 3.984 kB / 0.6666 GB, free: 2.855 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.6956, allocations: 16 kB / 0.6667 GB, free: 2.84 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00565/0.7012, allocations: 3.213 MB / 0.6698 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.7027, allocations: 1.145 MB / 0.6709 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00079/0.7035, allocations: 0.5349 MB / 0.6714 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.7036, allocations: 12.78 kB / 0.6715 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.7037, allocations: 43.34 kB / 0.6715 GB, free: 13.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=85): time 2.665e-06/0.7037, allocations: 0 / 0.6715 GB, free: 13.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=85): time 0.01223/0.7159, allocations: 3.945 MB / 0.6753 GB, free: 9.656 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.716, allocations: 60.19 kB / 0.6754 GB, free: 9.586 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.7174, allocations: 0.6542 MB / 0.676 GB, free: 8.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001937/0.7176, allocations: 25.7 kB / 0.6761 GB, free: 8.879 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/0.718, allocations: 456.3 kB / 0.6765 GB, free: 8.426 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003542/0.7183, allocations: 291.6 kB / 0.6768 GB, free: 8.137 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.7184, allocations: 8 kB / 0.6768 GB, free: 8.129 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.7185, allocations: 337.9 kB / 0.6771 GB, free: 7.793 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006806/0.7192, allocations: 411.6 kB / 0.6775 GB, free: 7.391 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007328/0.72, allocations: 0.5115 MB / 0.678 GB, free: 6.848 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006977/0.7207, allocations: 448.5 kB / 0.6784 GB, free: 6.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.7207, allocations: 0 / 0.6784 GB, free: 6.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01302/0.7337, allocations: 4.133 MB / 0.6825 GB, free: 2.262 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.7338, allocations: 8 kB / 0.6825 GB, free: 2.254 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.7338, allocations: 0 / 0.6825 GB, free: 2.254 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006119/0.74, allocations: 1.747 MB / 0.6842 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.7407, allocations: 127.8 kB / 0.6843 GB, free: 388 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/0.7555, allocations: 7.218 MB / 0.6914 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.7569, allocations: 163.2 kB / 0.6915 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.028e-05/0.757, allocations: 28 kB / 0.6915 GB, free: 8.852 MB / 0.4948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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 {24 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002224/0.7573, allocations: 125.8 kB / 0.6917 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.7574, allocations: 102.7 kB / 0.6918 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/0.7696, allocations: 4.039 MB / 0.6957 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.7697, allocations: 11.98 kB / 0.6957 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7697, allocations: 0 / 0.6957 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.416e-05/0.7697, allocations: 15.92 kB / 0.6957 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/0.7842, allocations: 5.523 MB / 0.7011 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.7842, allocations: 0 / 0.7011 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006376/0.7849, allocations: 99.89 kB / 0.7012 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005208/0.7901, allocations: 1.667 MB / 0.7028 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001491/0.7903, allocations: 7.938 kB / 0.7028 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01314/0.8034, allocations: 6.192 MB / 0.7089 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.8035, allocations: 0 / 0.7089 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/0.8172, allocations: 4.78 MB / 0.7136 GB, free: 2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005104/0.8178, allocations: 195.6 kB / 0.7137 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003089/0.8181, allocations: 3.953 kB / 0.7138 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.8194, allocations: 119.9 kB / 0.7139 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006789/0.8201, allocations: 196.4 kB / 0.7141 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.8202, allocations: 25.19 kB / 0.7141 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009891/0.8212, allocations: 0.5036 MB / 0.7146 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8212, allocations: 0 / 0.7146 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001639/0.8229, allocations: 375.5 kB / 0.7149 GB, free: 0.5703 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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.0003605/0.8232, allocations: 131.1 kB / 0.7151 GB, free: 440 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005398/0.8287, allocations: 1.914 MB / 0.7169 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8287, allocations: 0 / 0.7169 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004275/0.833, allocations: 1.413 MB / 0.7183 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008953/0.8339, allocations: 51.39 kB / 0.7183 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.8372, allocations: 1.436 MB / 0.7198 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007481/0.838, allocations: 1.068 MB / 0.7208 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003404/0.8383, allocations: 69.14 kB / 0.7209 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.8385, allocations: 47.44 kB / 0.7209 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of SimCode: time 5.81e-07/0.8386, allocations: 0 / 0.7209 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of Templates: time 0.02984/0.8684, allocations: 18.05 MB / 0.7385 GB, free: 8.504 MB / 0.5417 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)