Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001161/0.001161, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009451/0.0009449, allocations: 89.39 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1822/0.1822, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.707e-05/2.708e-05, allocations: 4 kB / 460.4 MB, free: 70.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 63.24 MB / 0.5114 GB, free: 6.812 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4088/0.5208, allocations: 103.6 MB / 0.6125 GB, free: 6.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.521, allocations: 81.64 kB / 0.6126 GB, free: 6.477 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09504/0.6161, allocations: 40.46 MB / 0.6521 GB, free: 5.043 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.6162, allocations: 0 / 0.6521 GB, free: 5.043 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.869e-05/0.6162, allocations: 20 kB / 0.6521 GB, free: 5.023 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.006229/0.6225, allocations: 1.686 MB / 0.6538 GB, free: 3.465 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.6226, allocations: 15.97 kB / 0.6538 GB, free: 3.449 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006406/0.629, allocations: 0.9798 MB / 0.6547 GB, free: 2.566 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.6302, allocations: 0.602 MB / 0.6553 GB, free: 2.066 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.777e-05/0.6303, allocations: 101.2 kB / 0.6554 GB, free: 2.008 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003607/0.6307, allocations: 131.7 kB / 0.6555 GB, free: 1.922 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/0.6335, allocations: 1.419 MB / 0.6569 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/0.6335, allocations: 3.984 kB / 0.6569 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.6337, allocations: 53.81 kB / 0.657 GB, free: 0.957 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.6337, allocations: 32 kB / 0.657 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.6363, allocations: 1.44 MB / 0.6584 GB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008638/0.6449, allocations: 5.706 MB / 0.664 GB, free: 9.562 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/0.6472, allocations: 2.154 MB / 0.6661 GB, free: 7.172 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008616/0.6481, allocations: 0.6087 MB / 0.6667 GB, free: 6.562 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/0.6483, allocations: 191.2 kB / 0.6669 GB, free: 6.336 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.6484, allocations: 51.56 kB / 0.6669 GB, free: 6.277 MB / 458.7 MB Notification: Performance of pre-optimization done (n=127): time 3.206e-06/0.6484, allocations: 0 / 0.6669 GB, free: 6.277 MB / 458.7 MB Notification: Performance of matching and sorting (n=127): time 0.002163/0.6506, allocations: 1.229 MB / 0.6681 GB, free: 5.035 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.6506, allocations: 94.11 kB / 0.6682 GB, free: 4.922 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/0.6512, allocations: 399.7 kB / 0.6686 GB, free: 4.523 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.794e-05/0.6513, allocations: 45.7 kB / 0.6686 GB, free: 4.473 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.6515, allocations: 451.6 kB / 0.6691 GB, free: 4.023 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003331/0.6519, allocations: 425.8 kB / 0.6695 GB, free: 3.602 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.003e-05/0.6519, allocations: 31.97 kB / 0.6695 GB, free: 3.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.6521, allocations: 382.8 kB / 0.6699 GB, free: 3.188 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006881/0.6528, allocations: 418.6 kB / 0.6703 GB, free: 2.777 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008122/0.6536, allocations: 0.6191 MB / 0.6709 GB, free: 2.082 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/0.6545, allocations: 492.5 kB / 0.6713 GB, free: 1.605 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.6545, allocations: 0 / 0.6713 GB, free: 1.605 MB / 458.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002424/0.6569, allocations: 1.457 MB / 0.6728 GB, free: 140 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.6569, allocations: 8 kB / 0.6728 GB, free: 132 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.657, allocations: 11.94 kB / 0.6728 GB, free: 120 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/0.6585, allocations: 0.5126 MB / 0.6733 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007602/0.6592, allocations: 191.7 kB / 0.6735 GB, free: 15.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006323/0.6656, allocations: 4.259 MB / 0.6776 GB, free: 11.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008054/0.6664, allocations: 118.8 kB / 0.6777 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.6665, allocations: 48 kB / 0.6778 GB, free: 10.85 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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 {20 30} Notification: Performance of prepare postOptimizeDAE: time 0.00026/0.6668, allocations: 176.2 kB / 0.678 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.667, allocations: 87.05 kB / 0.678 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002774/0.6698, allocations: 1.551 MB / 0.6796 GB, free: 9.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.6698, allocations: 12 kB / 0.6796 GB, free: 9.008 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.6698, allocations: 0 / 0.6796 GB, free: 9.008 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.6698, allocations: 7.969 kB / 0.6796 GB, free: 9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004578/0.6744, allocations: 2.8 MB / 0.6823 GB, free: 6.133 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.6744, allocations: 0 / 0.6823 GB, free: 6.133 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006543/0.6751, allocations: 143.8 kB / 0.6824 GB, free: 5.992 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/0.6765, allocations: 0.5029 MB / 0.6829 GB, free: 5.488 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.463e-05/0.6766, allocations: 27.98 kB / 0.683 GB, free: 5.461 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00623/0.6828, allocations: 4.25 MB / 0.6871 GB, free: 1.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6829, allocations: 7.953 kB / 0.6871 GB, free: 1.062 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003417/0.6863, allocations: 2.179 MB / 0.6892 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005227/0.6868, allocations: 295.7 kB / 0.6895 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.687, allocations: 27.95 kB / 0.6896 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006739/0.6877, allocations: 55.97 kB / 0.6896 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.6879, allocations: 97.17 kB / 0.6897 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.117e-05/0.688, allocations: 36 kB / 0.6897 GB, free: 14.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003753/0.6884, allocations: 305.6 kB / 0.69 GB, free: 14.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6884, allocations: 0 / 0.69 GB, free: 14.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001256/0.6896, allocations: 419 kB / 0.6904 GB, free: 13.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (idealClosingSwitch.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * 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 {20 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003514/0.69, allocations: 190.4 kB / 0.6906 GB, free: 13.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003096/0.6931, allocations: 1.665 MB / 0.6922 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.6931, allocations: 1.188 kB / 0.6922 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001974/0.6951, allocations: 1.108 MB / 0.6933 GB, free: 10.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.6957, allocations: 89.89 kB / 0.6934 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00548/0.7011, allocations: 2.246 MB / 0.6956 GB, free: 8.258 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/0.7019, allocations: 1.099 MB / 0.6967 GB, free: 7.133 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005555/0.7025, allocations: 110.7 kB / 0.6968 GB, free: 7.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.7027, allocations: 59.42 kB / 0.6968 GB, free: 6.961 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/0.7027, allocations: 0 / 0.6968 GB, free: 6.961 MB / 490.7 MB Notification: Performance of Templates: time 0.02801/0.7307, allocations: 16.17 MB / 0.7126 GB, free: 6.895 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1)