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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001016, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4176/0.4176, allocations: 38.03 MB / 308.4 MB, free: 10.4 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005861/0.0005863, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1345, allocations: 57.51 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003805/0.1384, allocations: 2.019 MB / 435.9 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.1405, allocations: 0.6208 MB / 436.6 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003112/0.1408, allocations: 7.938 kB / 436.6 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.1409, allocations: 27.81 kB / 436.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.1413, allocations: 83.75 kB / 436.7 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.1416, allocations: 55.88 kB / 436.7 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003695/0.142, allocations: 195.5 kB / 436.9 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00025/0.1423, allocations: 72.77 kB / 437 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.1425, allocations: 99.64 kB / 437.1 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.1427, allocations: 103.6 kB / 437.2 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.1428, allocations: 12 kB / 437.2 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.674e-05/0.1428, allocations: 12 kB / 437.2 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.959e-05/0.1429, allocations: 35.84 kB / 437.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.959e-05/0.143, allocations: 69.58 kB / 437.3 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.1434, allocations: 207.7 kB / 437.5 MB, free: 1.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1434, allocations: 0 / 437.5 MB, free: 1.957 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1434, allocations: 3.938 kB / 437.5 MB, free: 1.953 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.1434, allocations: 0 / 437.5 MB, free: 1.953 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.00106/0.1445, allocations: 0.495 MB / 438 MB, free: 1.406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.1446, allocations: 12.03 kB / 438 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.501e-05/0.1447, allocations: 31.58 kB / 438.1 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.1451, allocations: 235.4 kB / 438.3 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.1451, allocations: 16.44 kB / 438.3 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.748e-05/0.1452, allocations: 16 kB / 438.3 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.1458, allocations: 191.3 kB / 438.5 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1458, allocations: 0 / 438.5 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.227e-05/0.1459, allocations: 8 kB / 438.5 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.1459, allocations: 15.98 kB / 438.5 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005064/0.1464, allocations: 137.7 kB / 438.7 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.1486, allocations: 0.8219 MB / 439.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.1489, allocations: 94.55 kB / 439.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.1489, allocations: 0 / 439.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.149, allocations: 34.75 kB / 439.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.149, allocations: 3.938 kB / 439.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.002622/0.1516, allocations: 0.7564 MB / 440.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.1517, allocations: 55.34 kB / 440.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.1521, allocations: 211.7 kB / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001774/0.1523, allocations: 29.7 kB / 440.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.1524, allocations: 163.8 kB / 440.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.578e-05/0.1525, allocations: 63.16 kB / 440.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/0.1525, allocations: 0 / 440.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000462/0.153, allocations: 330.8 kB / 441.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.1532, allocations: 63.97 kB / 441.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004604/0.1537, allocations: 109.1 kB / 441.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.1539, allocations: 71.98 kB / 441.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1539, allocations: 4 kB / 441.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007673/0.1547, allocations: 282.9 kB / 441.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.1547, allocations: 15.58 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1548, allocations: 4.156 kB / 441.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000341/0.1551, allocations: 69.62 kB / 441.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.1554, allocations: 31.97 kB / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003644/0.159, allocations: 2.839 MB / 444.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.1593, allocations: 20.02 kB / 444.7 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.1593, allocations: 4 kB / 444.7 MB, free: 10.16 MB / 382.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.0002924/0.1596, allocations: 146.8 kB / 444.8 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-05/0.1597, allocations: 23.81 kB / 444.9 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.1598, allocations: 21.86 kB / 444.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1598, allocations: 0 / 444.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.1598, allocations: 0 / 444.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1598, allocations: 4 kB / 444.9 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/0.1603, allocations: 285.5 kB / 445.2 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1603, allocations: 0 / 445.2 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.1605, allocations: 19.98 kB / 445.2 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002942/0.1608, allocations: 69.86 kB / 445.3 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.1608, allocations: 4.656 kB / 445.3 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003867/0.1647, allocations: 2.819 MB / 448.1 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1647, allocations: 0 / 448.1 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009714/0.1657, allocations: 412.9 kB / 448.5 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.998e-05/0.1658, allocations: 92.94 kB / 448.6 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.1659, allocations: 4 kB / 448.6 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.1661, allocations: 19.98 kB / 448.6 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.1662, allocations: 24.27 kB / 448.6 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.1663, allocations: 7.984 kB / 448.6 MB, free: 5.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.1665, allocations: 149.5 kB / 448.8 MB, free: 5.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1665, allocations: 0 / 448.8 MB, free: 5.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006257/0.1671, allocations: 64 kB / 448.8 MB, free: 5.652 MB / 382.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.0002418/0.1674, allocations: 99.23 kB / 448.9 MB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.1685, allocations: 425 kB / 449.4 MB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.1685, allocations: 0 / 449.4 MB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007809/0.1693, allocations: 337.6 kB / 449.7 MB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.1698, allocations: 23.89 kB / 449.7 MB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.1715, allocations: 0.6133 MB / 450.3 MB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/0.1721, allocations: 0.7479 MB / 451.1 MB, free: 3.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000165/0.1723, allocations: 17.95 kB / 451.1 MB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.161e-05/0.1724, allocations: 19.42 kB / 451.1 MB, free: 3.277 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1724, allocations: 0 / 451.1 MB, free: 3.277 MB / 382.1 MB Notification: Performance of Templates: time 0.01017/0.1826, allocations: 2.428 MB / 453.5 MB, free: 0.8555 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: