Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001603/0.001603, allocations: 111.6 kB / 17.98 MB, free: 5.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00195/0.00195, allocations: 209.8 kB / 18.92 MB, free: 4.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2481/0.2481, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 79.09 kB / 417.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1225, allocations: 62.44 MB / 480.1 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004106/0.1267, allocations: 2.631 MB / 482.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1281, allocations: 0.67 MB / 483.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002226/0.1283, allocations: 4 kB / 483.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.1286, allocations: 27.77 kB / 483.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.1288, allocations: 55.48 kB / 483.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.1291, allocations: 75.86 kB / 483.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003772/0.1295, allocations: 286.8 kB / 483.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.1297, allocations: 88.58 kB / 484 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.13, allocations: 119.6 kB / 484.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.1302, allocations: 123.5 kB / 484.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.032e-05/0.1302, allocations: 24 kB / 484.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.565e-05/0.1303, allocations: 24 kB / 484.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.485e-05/0.1303, allocations: 51.78 kB / 484.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.1305, allocations: 127.4 kB / 484.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.1307, allocations: 211.7 kB / 484.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1308, allocations: 4 kB / 484.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1308, allocations: 4 kB / 484.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.1308, allocations: 0 / 484.6 MB, free: 1.113 MB / 350.1 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.0008646/0.1316, allocations: 0.5263 MB / 485.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.1317, allocations: 12.03 kB / 485.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.1319, allocations: 36.64 kB / 485.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.1322, allocations: 243.9 kB / 485.5 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.1322, allocations: 20.81 kB / 485.5 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.1323, allocations: 28.22 kB / 485.5 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.1327, allocations: 195.5 kB / 485.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1327, allocations: 0 / 485.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.1327, allocations: 15.94 kB / 485.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1327, allocations: 4 kB / 485.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.1331, allocations: 141.7 kB / 485.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.1344, allocations: 0.8064 MB / 486.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.1346, allocations: 98.47 kB / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.725e-05/0.1347, allocations: 56.83 kB / 486.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.1347, allocations: 0 / 486.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1347, allocations: 34.56 kB / 486.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.051e-06/0.1348, allocations: 0 / 486.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001744/0.1365, allocations: 0.7175 MB / 487.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.1366, allocations: 55.41 kB / 487.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1368, allocations: 210.9 kB / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1368, allocations: 33.64 kB / 487.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.1369, allocations: 167.8 kB / 488 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.137, allocations: 59.19 kB / 488.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.651e-05/0.1371, allocations: 45.61 kB / 488.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1372, allocations: 330.8 kB / 488.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.1373, allocations: 67.97 kB / 488.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.1375, allocations: 101.1 kB / 488.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.1378, allocations: 171.5 kB / 488.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1378, allocations: 0 / 488.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005218/0.1383, allocations: 289.7 kB / 489.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1384, allocations: 4 kB / 489.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.1384, allocations: 4 kB / 489.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002539/0.1386, allocations: 70.27 kB / 489.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.1388, allocations: 31.98 kB / 489.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/0.1412, allocations: 3.018 MB / 492.2 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.1414, allocations: 8.031 kB / 492.2 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.1414, allocations: 8 kB / 492.2 MB, free: 8.93 MB / 366.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.1416, allocations: 141.7 kB / 492.3 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.1416, allocations: 23.88 kB / 492.4 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/0.1417, allocations: 21.81 kB / 492.4 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1417, allocations: 4 kB / 492.4 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1417, allocations: 0 / 492.4 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1417, allocations: 3.984 kB / 492.4 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.142, allocations: 293.4 kB / 492.7 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.142, allocations: 0 / 492.7 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.413e-05/0.1421, allocations: 15.98 kB / 492.7 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001926/0.1423, allocations: 69.67 kB / 492.8 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.1424, allocations: 7.984 kB / 492.8 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.1446, allocations: 3.009 MB / 495.8 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.1446, allocations: 0 / 495.8 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006591/0.1453, allocations: 399 kB / 496.2 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/0.1454, allocations: 96.91 kB / 496.3 MB, free: 4.484 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.1454, allocations: 4 kB / 496.3 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.1456, allocations: 20.05 kB / 496.3 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.1456, allocations: 15.92 kB / 496.3 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.1457, allocations: 7.984 kB / 496.3 MB, free: 4.438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000155/0.1458, allocations: 156.4 kB / 496.5 MB, free: 4.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1458, allocations: 0 / 496.5 MB, free: 4.285 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003936/0.1462, allocations: 64 kB / 496.5 MB, free: 4.223 MB / 366.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001293/0.1464, allocations: 99.25 kB / 496.6 MB, free: 4.113 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007284/0.1471, allocations: 413.1 kB / 497 MB, free: 3.684 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.1471, allocations: 0 / 497 MB, free: 3.684 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.1476, allocations: 325.7 kB / 497.3 MB, free: 3.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.148, allocations: 31.91 kB / 497.4 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1491, allocations: 0.6334 MB / 498 MB, free: 2.648 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.1494, allocations: 0.7517 MB / 498.8 MB, free: 1.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.475e-05/0.1495, allocations: 19.42 kB / 498.8 MB, free: 1.848 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1495, allocations: 4 kB / 498.8 MB, free: 1.844 MB / 366.1 MB Notification: Performance of Templates: time 0.00679/0.1563, allocations: 4.562 MB / 0.4915 GB, free: 13.28 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1)