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.001497/0.001496, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.526/1.526, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001717/0.001716, allocations: 111.4 kB / 218 MB, free: 8.41 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.2021/0.2021, allocations: 37.98 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.921e-05, allocations: 0 / 350 MB, free: 36.99 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 48.73 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.376/0.4888, allocations: 75.24 MB / 474 MB, free: 17.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.4891, allocations: 64.61 kB / 474 MB, free: 17.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0108/0.4999, allocations: 3.9 MB / 477.9 MB, free: 17.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.5, allocations: 0 / 477.9 MB, free: 17.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.5, allocations: 8.938 kB / 477.9 MB, free: 17.27 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.0006411/0.5007, allocations: 498.5 kB / 478.4 MB, free: 16.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.5007, allocations: 9.406 kB / 478.4 MB, free: 16.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.894e-05/0.5008, allocations: 25.69 kB / 478.5 MB, free: 16.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.5011, allocations: 246.6 kB / 478.7 MB, free: 16.63 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.5011, allocations: 7.609 kB / 478.7 MB, free: 16.63 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.5012, allocations: 12.38 kB / 478.7 MB, free: 16.63 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002518/0.5015, allocations: 124.4 kB / 478.8 MB, free: 16.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.5017, allocations: 147.1 kB / 479 MB, free: 16.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.5018, allocations: 1.375 kB / 479 MB, free: 16.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.5018, allocations: 3.938 kB / 479 MB, free: 16.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.5018, allocations: 5.5 kB / 479 MB, free: 16.58 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.503, allocations: 0.7607 MB / 479.7 MB, free: 16.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.5032, allocations: 98.83 kB / 479.8 MB, free: 16.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.865e-05/0.5032, allocations: 38.02 kB / 479.9 MB, free: 16.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.5033, allocations: 1.062 kB / 479.9 MB, free: 16.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.5033, allocations: 31.72 kB / 479.9 MB, free: 16.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.5033, allocations: 0 / 479.9 MB, free: 16.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001337/0.5046, allocations: 0.6047 MB / 480.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.5047, allocations: 55.2 kB / 480.6 MB, free: 15.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.5049, allocations: 178.3 kB / 480.7 MB, free: 15.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.5049, allocations: 26.95 kB / 480.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.505, allocations: 169.8 kB / 480.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.505, allocations: 55.83 kB / 481 MB, free: 15.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.505, allocations: 0 / 481 MB, free: 15.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.529e-05/0.5051, allocations: 328.4 kB / 481.3 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-05/0.5052, allocations: 44.19 kB / 481.4 MB, free: 15.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.5053, allocations: 89.83 kB / 481.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.5054, allocations: 66.89 kB / 481.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5054, allocations: 1.25 kB / 481.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003935/0.5058, allocations: 235.2 kB / 481.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5059, allocations: 9.969 kB / 481.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.5059, allocations: 1.156 kB / 481.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002244/0.5061, allocations: 68.48 kB / 481.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.5063, allocations: 36.23 kB / 481.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.508, allocations: 2.682 MB / 484.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.5081, allocations: 8.766 kB / 484.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.5082, allocations: 8.781 kB / 484.6 MB, free: 12.51 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 () * 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 7.741e-05/0.5082, allocations: 110.7 kB / 484.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.5083, allocations: 22.27 kB / 484.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.5083, allocations: 22.67 kB / 484.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.5084, allocations: 2.062 kB / 484.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.5084, allocations: 1.625 kB / 484.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.5084, allocations: 1.594 kB / 484.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.5087, allocations: 240.3 kB / 484.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5087, allocations: 3.938 kB / 484.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-05/0.5088, allocations: 21.64 kB / 485 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001879/0.509, allocations: 66.55 kB / 485 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.509, allocations: 0 / 485 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/0.5118, allocations: 2.686 MB / 487.7 MB, free: 25.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.5118, allocations: 0 / 487.7 MB, free: 25.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005677/0.5124, allocations: 347.8 kB / 488.1 MB, free: 25.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.5126, allocations: 104.7 kB / 488.2 MB, free: 25.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.5126, allocations: 5.938 kB / 488.2 MB, free: 25.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.5128, allocations: 15.52 kB / 488.2 MB, free: 25.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.5129, allocations: 17 kB / 488.2 MB, free: 25.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.5129, allocations: 4.25 kB / 488.2 MB, free: 25.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002138/0.5132, allocations: 135.6 kB / 488.3 MB, free: 25.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5132, allocations: 0 / 488.3 MB, free: 25.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005417/0.5137, allocations: 67.23 kB / 488.4 MB, free: 25.42 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 () * 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.0001696/0.5139, allocations: 98.34 kB / 488.5 MB, free: 25.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00059/0.5145, allocations: 364.1 kB / 488.9 MB, free: 25.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5145, allocations: 4.25 kB / 488.9 MB, free: 25.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.5149, allocations: 299.8 kB / 489.2 MB, free: 24.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.5152, allocations: 24.61 kB / 489.2 MB, free: 24.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007626/0.516, allocations: 339.9 kB / 489.5 MB, free: 24.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.5164, allocations: 0.7472 MB / 490.3 MB, free: 24 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.878e-05/0.5165, allocations: 15.91 kB / 490.3 MB, free: 24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.701e-05/0.5165, allocations: 20.11 kB / 490.3 MB, free: 23.99 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5166, allocations: 3.938 kB / 490.3 MB, free: 23.99 MB / 346.7 MB Notification: Performance of Templates: time 0.005298/0.5219, allocations: 2.152 MB / 492.4 MB, free: 23.84 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)