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.0007515/0.0007515, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005219/0.005219, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3058/0.3058, allocations: 38.04 MB / 308.8 MB, free: 10.33 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.0005588/0.0005588, allocations: 12 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1249, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003047/0.128, allocations: 2.2 MB / 436.8 MB, free: 3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1293, allocations: 0.6243 MB / 437.4 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.1296, allocations: 11.88 kB / 437.4 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.1297, allocations: 27.77 kB / 437.4 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.13, allocations: 63.52 kB / 437.5 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.1303, allocations: 59.89 kB / 437.5 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004192/0.1307, allocations: 282.6 kB / 437.8 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000264/0.131, allocations: 73.02 kB / 437.9 MB, free: 1.859 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.1312, allocations: 99.56 kB / 438 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1314, allocations: 99.55 kB / 438.1 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.092e-05/0.1315, allocations: 12 kB / 438.1 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.1316, allocations: 15.94 kB / 438.1 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/0.1317, allocations: 43.78 kB / 438.2 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.1318, allocations: 141.1 kB / 438.3 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.1322, allocations: 259.3 kB / 438.5 MB, free: 1.195 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1322, allocations: 0 / 438.5 MB, free: 1.195 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1322, allocations: 0 / 438.5 MB, free: 1.195 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1323, allocations: 0 / 438.5 MB, free: 1.195 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.0009288/0.1332, allocations: 0.4952 MB / 439 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1332, allocations: 8.031 kB / 439 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.784e-05/0.1333, allocations: 32.56 kB / 439.1 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.1337, allocations: 252.6 kB / 439.3 MB, free: 336 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.1337, allocations: 16.81 kB / 439.3 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.1338, allocations: 24.31 kB / 439.4 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.1342, allocations: 191.6 kB / 439.6 MB, free: 100 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1342, allocations: 0 / 439.6 MB, free: 100 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.1342, allocations: 16 kB / 439.6 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1342, allocations: 7.984 kB / 439.6 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.1346, allocations: 141.8 kB / 439.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.1361, allocations: 0.818 MB / 440.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.1363, allocations: 98.48 kB / 440.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.1365, allocations: 56.78 kB / 440.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.1365, allocations: 0 / 440.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1365, allocations: 34.56 kB / 440.7 MB, free: 14.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1365, allocations: 0 / 440.7 MB, free: 14.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001897/0.1384, allocations: 0.7488 MB / 441.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.1385, allocations: 51.41 kB / 441.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.1388, allocations: 215.7 kB / 441.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.419e-05/0.1389, allocations: 33.7 kB / 441.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.139, allocations: 167.7 kB / 441.9 MB, free: 13.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.1392, allocations: 55.25 kB / 442 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.1392, allocations: 29.7 kB / 442 MB, free: 13.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002345/0.1395, allocations: 330.8 kB / 442.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.1396, allocations: 59.97 kB / 442.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.14, allocations: 113.1 kB / 442.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.1404, allocations: 185 kB / 442.7 MB, free: 12.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1405, allocations: 3.984 kB / 442.7 MB, free: 12.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005541/0.141, allocations: 282.9 kB / 443 MB, free: 12.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.141, allocations: 8 kB / 443 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1411, allocations: 0 / 443 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002402/0.1413, allocations: 73.77 kB / 443 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.1415, allocations: 31.98 kB / 443.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.1444, allocations: 2.812 MB / 445.9 MB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1446, allocations: 11.98 kB / 445.9 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.1446, allocations: 8 kB / 445.9 MB, free: 9.207 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 (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.0001307/0.1448, allocations: 129.8 kB / 446 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.1448, allocations: 27.69 kB / 446.1 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.847e-05/0.1449, allocations: 29.8 kB / 446.1 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1449, allocations: 4.062 kB / 446.1 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1449, allocations: 4 kB / 446.1 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1449, allocations: 0.6562 kB / 446.1 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/0.1453, allocations: 281.5 kB / 446.4 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1453, allocations: 0 / 446.4 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.84e-05/0.1454, allocations: 19.98 kB / 446.4 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001785/0.1456, allocations: 73.75 kB / 446.5 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1456, allocations: 7.938 kB / 446.5 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002756/0.1484, allocations: 2.8 MB / 449.3 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1484, allocations: 3.938 kB / 449.3 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000748/0.1491, allocations: 416.5 kB / 449.7 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.176e-05/0.1492, allocations: 96.98 kB / 449.8 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.1493, allocations: 7.984 kB / 449.8 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.1494, allocations: 19.98 kB / 449.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.1495, allocations: 11.98 kB / 449.8 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.1495, allocations: 4 kB / 449.8 MB, free: 4.922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.1497, allocations: 165.5 kB / 450 MB, free: 4.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.1497, allocations: 0 / 450 MB, free: 4.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003432/0.15, allocations: 63.98 kB / 450 MB, free: 4.699 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 (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 9.198e-05/0.1501, allocations: 95.25 kB / 450.1 MB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006482/0.1508, allocations: 416.9 kB / 450.5 MB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1508, allocations: 4 kB / 450.5 MB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004188/0.1512, allocations: 333.5 kB / 450.9 MB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.1516, allocations: 31.92 kB / 450.9 MB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1526, allocations: 0.6327 MB / 451.5 MB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006123/0.1533, allocations: 0.744 MB / 452.3 MB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.1534, allocations: 17.95 kB / 452.3 MB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.1534, allocations: 15.44 kB / 452.3 MB, free: 2.32 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1534, allocations: 0 / 452.3 MB, free: 2.32 MB / 382.1 MB Notification: Performance of Templates: time 0.1862/0.3396, allocations: 2.515 MB / 454.8 MB, free: 49.99 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: