Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009793/0.009793, allocations: 163.7 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.503/1.503, allocations: 170.8 MB / 186.6 MB, free: 1.027 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001578/0.001578, allocations: 110 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3355/0.3355, allocations: 38.05 MB / 303.7 MB, free: 42.49 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000406/0.0004061, allocations: 12 kB / 362.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1243, allocations: 48.7 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3635/0.4879, allocations: 76 MB / 487.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.4882, allocations: 62.72 kB / 487.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009784/0.498, allocations: 3.935 MB / 491.6 MB, free: 8.426 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.4981, allocations: 0 / 491.6 MB, free: 8.426 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.4981, allocations: 4.75 kB / 491.6 MB, free: 8.422 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008023/0.4989, allocations: 0.5159 MB / 492.1 MB, free: 7.879 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.499, allocations: 8.031 kB / 492.1 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.54e-05/0.4991, allocations: 27.72 kB / 492.1 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.4995, allocations: 248 kB / 492.4 MB, free: 7.582 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.4995, allocations: 19.08 kB / 492.4 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.4996, allocations: 26.69 kB / 492.4 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.4999, allocations: 185.5 kB / 492.6 MB, free: 7.422 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.5, allocations: 11.78 kB / 492.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.5, allocations: 10.44 kB / 492.6 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.5, allocations: 4 kB / 492.6 MB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.5003, allocations: 138.6 kB / 492.7 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.5015, allocations: 0.8231 MB / 493.6 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.5017, allocations: 102 kB / 493.7 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.5017, allocations: 0 / 493.7 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.5018, allocations: 34.31 kB / 493.7 MB, free: 6.426 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 8.12e-07/0.5018, allocations: 0 / 493.7 MB, free: 6.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001625/0.5034, allocations: 0.7463 MB / 494.4 MB, free: 5.746 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.5034, allocations: 55.41 kB / 494.5 MB, free: 5.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.5036, allocations: 193.2 kB / 494.7 MB, free: 5.516 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.5036, allocations: 29.7 kB / 494.7 MB, free: 5.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.5037, allocations: 167.8 kB / 494.9 MB, free: 5.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.5038, allocations: 55.12 kB / 494.9 MB, free: 5.289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.5038, allocations: 7.188 kB / 494.9 MB, free: 5.285 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.461e-05/0.5039, allocations: 329.6 kB / 495.3 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.504, allocations: 64.66 kB / 495.3 MB, free: 4.918 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.5041, allocations: 118.5 kB / 495.4 MB, free: 4.812 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.5043, allocations: 73.86 kB / 495.5 MB, free: 4.766 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5043, allocations: 0 / 495.5 MB, free: 4.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004442/0.5047, allocations: 291.4 kB / 495.8 MB, free: 4.531 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5048, allocations: 4 kB / 495.8 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5048, allocations: 0 / 495.8 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.505, allocations: 71.3 kB / 495.9 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.5052, allocations: 35.98 kB / 495.9 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.507, allocations: 2.835 MB / 498.7 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.5071, allocations: 11.66 kB / 498.8 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.5071, allocations: 8 kB / 498.8 MB, free: 1.527 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.5073, allocations: 139.3 kB / 498.9 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.5073, allocations: 19.81 kB / 498.9 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/0.5074, allocations: 22.56 kB / 498.9 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5074, allocations: 0 / 498.9 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.5074, allocations: 7.938 kB / 499 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5074, allocations: 3.984 kB / 499 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.5077, allocations: 291.1 kB / 499.2 MB, free: 1.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.5077, allocations: 3.938 kB / 499.2 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.813e-05/0.5078, allocations: 15.98 kB / 499.3 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001685/0.508, allocations: 66.61 kB / 499.3 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.508, allocations: 6.984 kB / 499.3 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.5102, allocations: 2.82 MB / 0.4904 GB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5102, allocations: 4.031 kB / 0.4904 GB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000659/0.5108, allocations: 401.2 kB / 0.4908 GB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.511, allocations: 107.5 kB / 0.4909 GB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.511, allocations: 11.55 kB / 0.4909 GB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.5112, allocations: 20.05 kB / 0.4909 GB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.5113, allocations: 19.55 kB / 0.4909 GB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.5113, allocations: 4 kB / 0.4909 GB, free: 13.6 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.5114, allocations: 150.7 kB / 0.4911 GB, free: 13.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5114, allocations: 0 / 0.4911 GB, free: 13.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003812/0.5118, allocations: 70.3 kB / 0.4911 GB, free: 13.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001482/0.512, allocations: 99.25 kB / 0.4912 GB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007065/0.5127, allocations: 419.3 kB / 0.4916 GB, free: 12.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5127, allocations: 0 / 0.4916 GB, free: 12.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.5132, allocations: 337.8 kB / 0.4919 GB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.5135, allocations: 30.14 kB / 0.492 GB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.5145, allocations: 0.6122 MB / 0.4926 GB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.5149, allocations: 0.7557 MB / 0.4933 GB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.473e-05/0.515, allocations: 17.95 kB / 0.4933 GB, free: 11.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.515, allocations: 19.42 kB / 0.4934 GB, free: 11.17 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.515, allocations: 0 / 0.4934 GB, free: 11.17 MB / 346.7 MB Notification: Performance of Templates: time 0.005781/0.5208, allocations: 2.441 MB / 0.4957 GB, free: 8.762 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1)