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.0009964/0.0009965, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001199, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1965/0.1965, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 75.67 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1259, allocations: 62.45 MB / 481.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003681/0.1297, allocations: 2.575 MB / 484 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1308, allocations: 0.6661 MB / 484.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1309, allocations: 11.94 kB / 484.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.131, allocations: 39.58 kB / 484.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.1312, allocations: 67.36 kB / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.1315, allocations: 79.81 kB / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.1318, allocations: 290.8 kB / 485.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.132, allocations: 88.58 kB / 485.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.1322, allocations: 115.5 kB / 485.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.1324, allocations: 123.5 kB / 485.5 MB, free: 496 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.1325, allocations: 24 kB / 485.5 MB, free: 472 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.1325, allocations: 32 kB / 485.5 MB, free: 440 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.1326, allocations: 51.84 kB / 485.6 MB, free: 388 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1327, allocations: 127.4 kB / 485.7 MB, free: 260 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002876/0.133, allocations: 275 kB / 486 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.133, allocations: 7.984 kB / 486 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.133, allocations: 0 / 486 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.133, allocations: 0 / 486 MB, free: 15.98 MB / 366.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.0007351/0.1338, allocations: 0.534 MB / 486.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1338, allocations: 12.03 kB / 486.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.134, allocations: 40.58 kB / 486.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.1343, allocations: 251.9 kB / 486.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1344, allocations: 12.81 kB / 486.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.1344, allocations: 28.28 kB / 486.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.1348, allocations: 195.6 kB / 487.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1348, allocations: 4 kB / 487.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.1348, allocations: 4 kB / 487.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.1348, allocations: 4 kB / 487.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.1351, allocations: 149.7 kB / 487.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.1363, allocations: 0.8024 MB / 488 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.1365, allocations: 94.48 kB / 488.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.09e-05/0.1366, allocations: 56.95 kB / 488.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.1366, allocations: 0 / 488.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1366, allocations: 34.56 kB / 488.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1366, allocations: 0 / 488.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001612/0.1382, allocations: 0.7173 MB / 488.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.1383, allocations: 59.34 kB / 489 MB, free: 12.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.1385, allocations: 218.9 kB / 489.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1385, allocations: 25.7 kB / 489.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.757e-05/0.1386, allocations: 171.8 kB / 489.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.1387, allocations: 55.2 kB / 489.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/0.1387, allocations: 41.61 kB / 489.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1389, allocations: 334.8 kB / 489.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.139, allocations: 55.97 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.1392, allocations: 109.8 kB / 490 MB, free: 11.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.1394, allocations: 180.1 kB / 490.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1395, allocations: 0 / 490.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004987/0.14, allocations: 282.8 kB / 490.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.14, allocations: 8.156 kB / 490.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.14, allocations: 0 / 490.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002296/0.1402, allocations: 69.67 kB / 490.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.1404, allocations: 35.92 kB / 490.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.1426, allocations: 3.015 MB / 493.5 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.1428, allocations: 8.031 kB / 493.5 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.1428, allocations: 8 kB / 493.6 MB, free: 7.785 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.0001361/0.1429, allocations: 153.3 kB / 493.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.143, allocations: 15.81 kB / 493.7 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.143, allocations: 21.88 kB / 493.7 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.143, allocations: 4 kB / 493.7 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.1431, allocations: 0 / 493.7 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.1431, allocations: 3.984 kB / 493.7 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.1433, allocations: 285.5 kB / 494 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1434, allocations: 0 / 494 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.136e-05/0.1435, allocations: 23.98 kB / 494.1 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000184/0.1436, allocations: 73.59 kB / 494.1 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1437, allocations: 0 / 494.1 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.1458, allocations: 3.009 MB / 497.1 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1458, allocations: 0 / 497.1 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005775/0.1464, allocations: 399.2 kB / 497.5 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.1464, allocations: 96.94 kB / 497.6 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.1465, allocations: 4 kB / 497.6 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.1466, allocations: 15.98 kB / 497.6 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.1467, allocations: 15.92 kB / 497.7 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1467, allocations: 16.23 kB / 497.7 MB, free: 3.293 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.1469, allocations: 152.4 kB / 497.8 MB, free: 3.145 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1469, allocations: 0 / 497.8 MB, free: 3.145 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003691/0.1472, allocations: 64 kB / 497.9 MB, free: 3.082 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.000113/0.1474, allocations: 99.25 kB / 498 MB, free: 2.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000652/0.148, allocations: 409.1 kB / 498.4 MB, free: 2.547 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.148, allocations: 0 / 498.4 MB, free: 2.547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000402/0.1484, allocations: 325.3 kB / 498.7 MB, free: 2.203 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.1488, allocations: 48.08 kB / 498.7 MB, free: 2.156 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009373/0.1497, allocations: 0.5 MB / 499.2 MB, free: 1.633 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.15, allocations: 0.7478 MB / 500 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.569e-05/0.1501, allocations: 17.94 kB / 0.4883 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.1502, allocations: 23.44 kB / 0.4883 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1502, allocations: 4 kB / 0.4883 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of Templates: time 0.005897/0.1561, allocations: 2.683 MB / 0.4909 GB, free: 14.16 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 -s gbode -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1)