Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005577/0.005576, allocations: 346.7 kB / 15.94 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.408/3.408, allocations: 341.5 MB / 358.2 MB, free: 28.6 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005532/0.005533, allocations: 227.3 kB / 397.9 MB, free: 6 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5727/0.5727, allocations: 76.1 MB / 0.5014 GB, free: 0.7734 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006955/0.0006958, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1226, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004136/0.1268, allocations: 2.156 MB / 0.6088 GB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1286, allocations: 0.581 MB / 0.6094 GB, free: 8.781 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.1289, allocations: 4 kB / 0.6094 GB, free: 8.777 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.129, allocations: 35.75 kB / 0.6094 GB, free: 8.742 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.1293, allocations: 75.38 kB / 0.6095 GB, free: 8.668 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.1297, allocations: 47.95 kB / 0.6096 GB, free: 8.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004322/0.1301, allocations: 270.7 kB / 0.6098 GB, free: 8.355 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002512/0.1304, allocations: 76.77 kB / 0.6099 GB, free: 8.281 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.1306, allocations: 95.58 kB / 0.61 GB, free: 8.188 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.1309, allocations: 99.55 kB / 0.6101 GB, free: 8.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.676e-05/0.131, allocations: 15.98 kB / 0.6101 GB, free: 8.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.225e-05/0.1311, allocations: 15.94 kB / 0.6101 GB, free: 8.059 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.1311, allocations: 35.84 kB / 0.6101 GB, free: 8.023 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.945e-05/0.1312, allocations: 69.58 kB / 0.6102 GB, free: 7.949 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.1316, allocations: 203.7 kB / 0.6104 GB, free: 7.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1316, allocations: 0 / 0.6104 GB, free: 7.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1316, allocations: 4 kB / 0.6104 GB, free: 7.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1316, allocations: 0 / 0.6104 GB, free: 7.746 MB / 282.7 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.001172/0.1328, allocations: 0.495 MB / 0.6109 GB, free: 7.203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.1329, allocations: 8.031 kB / 0.6109 GB, free: 7.195 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.133, allocations: 35.62 kB / 0.6109 GB, free: 7.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.1334, allocations: 246.6 kB / 0.6112 GB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.1335, allocations: 16.44 kB / 0.6112 GB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.178e-05/0.1336, allocations: 20 kB / 0.6112 GB, free: 6.844 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007172/0.1343, allocations: 187.3 kB / 0.6114 GB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1343, allocations: 0 / 0.6114 GB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.1344, allocations: 8 kB / 0.6114 GB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.1344, allocations: 8 kB / 0.6114 GB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006121/0.1351, allocations: 141.7 kB / 0.6115 GB, free: 6.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.1375, allocations: 0.8219 MB / 0.6123 GB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.1379, allocations: 94.55 kB / 0.6124 GB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.1381, allocations: 49.03 kB / 0.6125 GB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.1381, allocations: 3.938 kB / 0.6125 GB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1382, allocations: 46.55 kB / 0.6125 GB, free: 5.391 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 4.569e-06/0.1382, allocations: 0 / 0.6125 GB, free: 5.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.003527/0.1417, allocations: 0.7452 MB / 0.6133 GB, free: 4.586 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.1418, allocations: 55.41 kB / 0.6133 GB, free: 4.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.1422, allocations: 208.5 kB / 0.6135 GB, free: 4.309 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.1422, allocations: 29.7 kB / 0.6135 GB, free: 4.273 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.1424, allocations: 172 kB / 0.6137 GB, free: 4.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.792e-05/0.1425, allocations: 55.27 kB / 0.6137 GB, free: 4.047 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.1425, allocations: 7.938 kB / 0.6138 GB, free: 4.039 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.1426, allocations: 330.8 kB / 0.6141 GB, free: 3.707 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.143, allocations: 59.97 kB / 0.6141 GB, free: 3.648 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.1433, allocations: 118.3 kB / 0.6142 GB, free: 3.516 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.1437, allocations: 71.94 kB / 0.6143 GB, free: 3.445 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1438, allocations: 3.938 kB / 0.6143 GB, free: 3.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001194/0.145, allocations: 291.5 kB / 0.6146 GB, free: 3.145 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.145, allocations: 11.59 kB / 0.6146 GB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.145, allocations: 4.156 kB / 0.6146 GB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004793/0.1455, allocations: 65.67 kB / 0.6147 GB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.146, allocations: 35.98 kB / 0.6147 GB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003517/0.1495, allocations: 2.812 MB / 0.6174 GB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.15, allocations: 15.97 kB / 0.6175 GB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.15, allocations: 4 kB / 0.6175 GB, free: 15.92 MB / 298.7 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.000301/0.1503, allocations: 150.6 kB / 0.6176 GB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.884e-05/0.1505, allocations: 15.81 kB / 0.6176 GB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.482e-05/0.1505, allocations: 21.86 kB / 0.6176 GB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.1506, allocations: 4 kB / 0.6177 GB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1506, allocations: 0 / 0.6177 GB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.1508, allocations: 104.9 kB / 0.6178 GB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-05/0.1509, allocations: 8 kB / 0.6178 GB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000444/0.1514, allocations: 19.98 kB / 0.6178 GB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.1515, allocations: 19.97 kB / 0.6178 GB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001674/0.1532, allocations: 326.3 kB / 0.6181 GB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001347/0.1546, allocations: 434.3 kB / 0.6185 GB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003392/0.1549, allocations: 59.77 kB / 0.6186 GB, free: 14.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003049/0.1553, allocations: 153.4 kB / 0.6187 GB, free: 14.58 MB / 298.7 MB Notification: Performance of Backend: time 1.303e-06/0.1553, allocations: 4 kB / 0.6187 GB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.157, allocations: 431.7 kB / 0.6191 GB, free: 14.12 MB / 298.7 MB Notification: Performance of SimCode: time 0.002244/0.1593, allocations: 1.104 MB / 0.6202 GB, free: 12.97 MB / 298.7 MB Notification: Performance of Templates: time 0.01305/0.1724, allocations: 2.467 MB / 0.6226 GB, free: 10.52 MB / 298.7 MB