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.0008783/0.0008783, allocations: 97.55 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009504/0.0009504, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.2 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2565/0.2565, allocations: 45.91 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002856/0.0002856, allocations: 8 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1448, allocations: 63.46 MB / 481.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.00272/0.1476, allocations: 2.067 MB / 483.4 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1488, allocations: 0.6238 MB / 484.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.149, allocations: 4 kB / 484.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.811e-05/0.149, allocations: 27.77 kB / 484.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.1493, allocations: 87.73 kB / 484.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.1495, allocations: 55.88 kB / 484.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.1499, allocations: 191.6 kB / 484.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.1501, allocations: 76.58 kB / 484.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.1503, allocations: 99.62 kB / 484.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.1505, allocations: 99.55 kB / 484.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.1506, allocations: 12 kB / 484.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.563e-05/0.1506, allocations: 16 kB / 484.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.1507, allocations: 47.81 kB / 484.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.903e-05/0.1508, allocations: 69.58 kB / 484.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.1511, allocations: 207.7 kB / 485 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1511, allocations: 0 / 485 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.1511, allocations: 0 / 485 MB, free: 1.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1511, allocations: 0 / 485 MB, free: 1.715 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.0009066/0.152, allocations: 0.4989 MB / 485.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.1521, allocations: 8.031 kB / 485.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.1523, allocations: 39.61 kB / 485.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.1526, allocations: 234.6 kB / 485.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.1527, allocations: 12.44 kB / 485.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.1527, allocations: 20 kB / 485.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.1532, allocations: 195.3 kB / 486 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1532, allocations: 0 / 486 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.1532, allocations: 11.94 kB / 486.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.1533, allocations: 4 kB / 486.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.1536, allocations: 145.7 kB / 486.2 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.155, allocations: 0.8181 MB / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.1552, allocations: 106.5 kB / 487.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1553, allocations: 0 / 487.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/0.1553, allocations: 38.5 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.1553, allocations: 0 / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001806/0.1571, allocations: 0.7491 MB / 487.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1572, allocations: 63.39 kB / 488 MB, free: 14.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.1574, allocations: 208 kB / 488.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1574, allocations: 25.7 kB / 488.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.1576, allocations: 171.8 kB / 488.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.1576, allocations: 55.11 kB / 488.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.1576, allocations: 8 kB / 488.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1578, allocations: 334.8 kB / 488.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1579, allocations: 59.97 kB / 488.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.1581, allocations: 113.1 kB / 488.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.1583, allocations: 78.5 kB / 489 MB, free: 13.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1583, allocations: 0 / 489 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005098/0.1588, allocations: 287 kB / 489.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1589, allocations: 4 kB / 489.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1589, allocations: 0 / 489.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002354/0.1591, allocations: 73.67 kB / 489.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.1593, allocations: 35.91 kB / 489.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/0.1619, allocations: 2.828 MB / 492.2 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.162, allocations: 12.03 kB / 492.2 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.162, allocations: 12 kB / 492.2 MB, free: 9.918 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 (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.0001535/0.1622, allocations: 141.8 kB / 492.4 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.1623, allocations: 19.81 kB / 492.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.1623, allocations: 21.88 kB / 492.4 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.1623, allocations: 0 / 492.4 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.1623, allocations: 4 kB / 492.4 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.1623, allocations: 3.984 kB / 492.4 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.1627, allocations: 285.5 kB / 492.7 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1627, allocations: 0 / 492.7 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/0.1628, allocations: 27.92 kB / 492.7 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000176/0.1629, allocations: 65.67 kB / 492.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.163, allocations: 3.984 kB / 492.8 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/0.1653, allocations: 2.827 MB / 495.6 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1653, allocations: 0 / 495.6 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006521/0.166, allocations: 396.9 kB / 496 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.565e-05/0.1661, allocations: 100.9 kB / 496.1 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.1661, allocations: 4 kB / 496.1 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.1663, allocations: 24.05 kB / 496.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.1664, allocations: 15.92 kB / 496.2 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1664, allocations: 8 kB / 496.2 MB, free: 5.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.1665, allocations: 144.2 kB / 496.3 MB, free: 5.484 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.346e-06/0.1665, allocations: 0 / 496.3 MB, free: 5.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003792/0.1669, allocations: 67.94 kB / 496.4 MB, free: 5.418 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 (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.0001414/0.1671, allocations: 107.2 kB / 496.5 MB, free: 5.301 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007668/0.1678, allocations: 416.2 kB / 496.9 MB, free: 4.871 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1678, allocations: 4.062 kB / 496.9 MB, free: 4.867 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.1683, allocations: 333.2 kB / 497.2 MB, free: 4.516 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.1687, allocations: 31.88 kB / 497.2 MB, free: 4.484 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.1699, allocations: 0.5998 MB / 497.8 MB, free: 3.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.1704, allocations: 0.7518 MB / 498.6 MB, free: 3.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.701e-05/0.1705, allocations: 21.88 kB / 498.6 MB, free: 3.066 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.1705, allocations: 19.44 kB / 498.6 MB, free: 3.047 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1705, allocations: 4 kB / 498.6 MB, free: 3.043 MB / 366.1 MB Notification: Performance of Templates: time 0.005768/0.1763, allocations: 2.433 MB / 0.4893 GB, free: 0.6289 MB / 366.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)