Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001064/0.001064, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.733/1.733, allocations: 194.3 MB / 207.5 MB, free: 3.457 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001604/0.001604, allocations: 114 kB / 252.6 MB, free: 4.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2281/0.2281, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.177e-05/3.197e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4396/0.5565, allocations: 94.8 MB / 0.5371 GB, free: 12.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.5568, allocations: 80.33 kB / 0.5371 GB, free: 12.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09097/0.6478, allocations: 38.74 MB / 0.575 GB, free: 12.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6478, allocations: 0 / 0.575 GB, free: 12.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.54e-05/0.6479, allocations: 20 kB / 0.575 GB, free: 12.77 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.00558/0.6534, allocations: 1.673 MB / 0.5766 GB, free: 11.22 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.553e-05/0.6535, allocations: 12.03 kB / 0.5766 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00728/0.6608, allocations: 1.056 MB / 0.5777 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.6621, allocations: 0.5705 MB / 0.5782 GB, free: 9.797 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.67e-05/0.6622, allocations: 102.9 kB / 0.5783 GB, free: 9.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/0.6624, allocations: 130.6 kB / 0.5784 GB, free: 9.652 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/0.6649, allocations: 1.448 MB / 0.5799 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.127e-05/0.665, allocations: 7.625 kB / 0.5799 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.6651, allocations: 55.12 kB / 0.5799 GB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/0.6652, allocations: 39.94 kB / 0.58 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002498/0.6677, allocations: 1.49 MB / 0.5814 GB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008367/0.6761, allocations: 5.467 MB / 0.5868 GB, free: 1.551 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00256/0.6786, allocations: 2.334 MB / 0.589 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008945/0.6796, allocations: 0.6256 MB / 0.5896 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.6797, allocations: 110.1 kB / 0.5897 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.6798, allocations: 47.56 kB / 0.5898 GB, free: 14.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 4.108e-06/0.6798, allocations: 0 / 0.5898 GB, free: 14.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.002269/0.6821, allocations: 1.242 MB / 0.591 GB, free: 12.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.6822, allocations: 94.11 kB / 0.5911 GB, free: 12.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/0.6827, allocations: 387 kB / 0.5915 GB, free: 12.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.691e-05/0.6828, allocations: 45.7 kB / 0.5915 GB, free: 12.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.6831, allocations: 463.4 kB / 0.5919 GB, free: 11.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/0.6834, allocations: 433.6 kB / 0.5924 GB, free: 11.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.6835, allocations: 24 kB / 0.5924 GB, free: 11.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.6837, allocations: 386.8 kB / 0.5928 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006844/0.6844, allocations: 422.6 kB / 0.5932 GB, free: 10.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008961/0.6853, allocations: 0.6792 MB / 0.5938 GB, free: 9.824 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000826/0.6861, allocations: 0.489 MB / 0.5943 GB, free: 9.336 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.6861, allocations: 4 kB / 0.5943 GB, free: 9.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00255/0.6887, allocations: 1.529 MB / 0.5958 GB, free: 7.793 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.6887, allocations: 8 kB / 0.5958 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.6887, allocations: 8 kB / 0.5958 GB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.6902, allocations: 0.5088 MB / 0.5963 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007863/0.691, allocations: 203.7 kB / 0.5965 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006431/0.6975, allocations: 4.259 MB / 0.6007 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008994/0.6984, allocations: 130.7 kB / 0.6008 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.42e-05/0.6985, allocations: 51.95 kB / 0.6008 GB, free: 2.496 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (116): * Single equations (assignments): 115 * 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.000264/0.6988, allocations: 176.7 kB / 0.601 GB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.699, allocations: 79.06 kB / 0.6011 GB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002611/0.7016, allocations: 1.505 MB / 0.6025 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.7016, allocations: 16 kB / 0.6026 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.7016, allocations: 0 / 0.6026 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/0.7017, allocations: 12.03 kB / 0.6026 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004503/0.7062, allocations: 2.818 MB / 0.6053 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.7062, allocations: 8.031 kB / 0.6053 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006382/0.7068, allocations: 143.8 kB / 0.6055 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/0.7082, allocations: 0.5028 MB / 0.606 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.76e-05/0.7083, allocations: 27.98 kB / 0.606 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00639/0.7147, allocations: 4.244 MB / 0.6101 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7148, allocations: 4 kB / 0.6101 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/0.7184, allocations: 2.21 MB / 0.6123 GB, free: 6.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005725/0.719, allocations: 291.7 kB / 0.6126 GB, free: 6.195 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.7191, allocations: 20 kB / 0.6126 GB, free: 6.176 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006295/0.7197, allocations: 56.03 kB / 0.6126 GB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003033/0.7201, allocations: 101.2 kB / 0.6127 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.356e-05/0.7202, allocations: 35.98 kB / 0.6128 GB, free: 5.988 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004396/0.7206, allocations: 293.6 kB / 0.6131 GB, free: 5.703 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7206, allocations: 4 kB / 0.6131 GB, free: 5.699 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001418/0.722, allocations: 415 kB / 0.6135 GB, free: 5.293 MB / 426.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 (86): * Single equations (assignments): 85 * 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.0003324/0.7224, allocations: 184.2 kB / 0.6136 GB, free: 5.102 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003099/0.7255, allocations: 1.679 MB / 0.6153 GB, free: 3.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7255, allocations: 0 / 0.6153 GB, free: 3.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002036/0.7275, allocations: 1.109 MB / 0.6164 GB, free: 2.289 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.7281, allocations: 85.98 kB / 0.6164 GB, free: 2.203 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004789/0.7329, allocations: 2.075 MB / 0.6185 GB, free: 108 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007629/0.7337, allocations: 1.099 MB / 0.6195 GB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005592/0.7343, allocations: 106.9 kB / 0.6196 GB, free: 14.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.7345, allocations: 63.42 kB / 0.6197 GB, free: 14.81 MB / 442.7 MB Notification: Performance of SimCode: time 8.42e-07/0.7345, allocations: 0 / 0.6197 GB, free: 14.81 MB / 442.7 MB Notification: Performance of Templates: time 0.0267/0.7612, allocations: 15.99 MB / 0.6353 GB, free: 14.86 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1)