Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.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) 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(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008149/0.000815, allocations: 87.42 kB / 16.31 MB, free: 5.676 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.0008179/0.000818, allocations: 177.2 kB / 17.21 MB, free: 5.594 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.628/1.628, allocations: 205.4 MB / 223.4 MB, free: 13.03 MB / 190.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: Performance of FrontEnd - loaded program: time 0.0004692/0.0004692, allocations: 12 kB / 280.1 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1197, allocations: 47.59 MB / 327.7 MB, free: 4.047 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003858/0.1236, allocations: 3.475 MB / 331.2 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.1251, allocations: 0.8775 MB / 332.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.1253, allocations: 8 kB / 332.1 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.1255, allocations: 67.45 kB / 332.2 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.1258, allocations: 150.8 kB / 332.3 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.1261, allocations: 103.9 kB / 332.4 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005911/0.1267, allocations: 0.6185 MB / 333 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.127, allocations: 154.3 kB / 333.2 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000256/0.1273, allocations: 227.1 kB / 333.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003173/0.1276, allocations: 250.9 kB / 333.6 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.458e-05/0.1277, allocations: 35.94 kB / 333.7 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.817e-05/0.1277, allocations: 28 kB / 333.7 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.1278, allocations: 95.59 kB / 333.8 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.128, allocations: 129.4 kB / 333.9 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.1284, allocations: 478.8 kB / 334.4 MB, free: 13.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1284, allocations: 0 / 334.4 MB, free: 13.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1284, allocations: 0 / 334.4 MB, free: 13.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.1284, allocations: 0 / 334.4 MB, free: 13.34 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001242/0.1296, allocations: 0.787 MB / 335.2 MB, free: 12.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1297, allocations: 8.031 kB / 335.2 MB, free: 12.49 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.1298, allocations: 59.34 kB / 335.3 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.1303, allocations: 354.6 kB / 335.6 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.1303, allocations: 44.89 kB / 335.6 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-05/0.1304, allocations: 55.91 kB / 335.7 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000782/0.1312, allocations: 483.2 kB / 336.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1312, allocations: 7.984 kB / 336.2 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.1313, allocations: 16 kB / 336.2 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.1313, allocations: 12 kB / 336.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005877/0.1319, allocations: 340.3 kB / 336.5 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/0.1344, allocations: 1.709 MB / 338.2 MB, free: 9.289 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.1349, allocations: 269.1 kB / 338.5 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.1351, allocations: 149.6 kB / 338.7 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.1351, allocations: 7.984 kB / 338.7 MB, free: 8.848 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.1352, allocations: 38.56 kB / 338.7 MB, free: 8.801 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.743e-06/0.1352, allocations: 3.938 kB / 338.7 MB, free: 8.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001816/0.137, allocations: 0.97 MB / 339.7 MB, free: 7.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.1371, allocations: 81.11 kB / 339.8 MB, free: 7.652 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.1375, allocations: 373.7 kB / 340.1 MB, free: 7.277 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.1375, allocations: 33.7 kB / 340.1 MB, free: 7.238 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.1377, allocations: 287.4 kB / 340.4 MB, free: 6.949 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.416e-05/0.1378, allocations: 110.4 kB / 340.5 MB, free: 6.84 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/0.1378, allocations: 12 kB / 340.5 MB, free: 6.828 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1379, allocations: 354.8 kB / 340.9 MB, free: 6.473 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.1381, allocations: 100.8 kB / 341 MB, free: 6.375 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.1384, allocations: 198.8 kB / 341.2 MB, free: 6.145 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.1386, allocations: 132.9 kB / 341.3 MB, free: 6.016 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.1387, allocations: 0 / 341.3 MB, free: 6.016 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007481/0.1394, allocations: 452.9 kB / 341.8 MB, free: 5.562 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1394, allocations: 4 kB / 341.8 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1395, allocations: 7.938 kB / 341.8 MB, free: 5.551 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003245/0.1398, allocations: 89.77 kB / 341.9 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.1401, allocations: 83.83 kB / 341.9 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.1423, allocations: 2.842 MB / 344.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.1426, allocations: 24 kB / 344.8 MB, free: 2.246 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.1426, allocations: 16 kB / 344.8 MB, free: 2.23 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001991/0.1428, allocations: 169.7 kB / 345 MB, free: 2.055 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/0.1429, allocations: 39.53 kB / 345 MB, free: 2.016 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.643e-05/0.143, allocations: 47.47 kB / 345.1 MB, free: 1.969 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.143, allocations: 4 kB / 345.1 MB, free: 1.965 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.143, allocations: 3.984 kB / 345.1 MB, free: 1.961 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.143, allocations: 7.984 kB / 345.1 MB, free: 1.953 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.1443, allocations: 0.9354 MB / 346 MB, free: 0.957 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1443, allocations: 0 / 346 MB, free: 0.957 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.1445, allocations: 51.86 kB / 346.1 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002476/0.1448, allocations: 85.64 kB / 346.2 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.1448, allocations: 4 kB / 346.2 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/0.1471, allocations: 2.853 MB / 349 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1472, allocations: 0 / 349 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00087/0.148, allocations: 0.6246 MB / 349.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.706e-05/0.1481, allocations: 128.5 kB / 349.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/0.1482, allocations: 7.984 kB / 349.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.1485, allocations: 35.98 kB / 349.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.1486, allocations: 23.97 kB / 349.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.1487, allocations: 15.92 kB / 349.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002806/0.149, allocations: 263.2 kB / 350.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.149, allocations: 0 / 350.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005467/0.1495, allocations: 124 kB / 350.2 MB, free: 12.44 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001536/0.1497, allocations: 111.3 kB / 350.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008679/0.1506, allocations: 0.5167 MB / 350.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1506, allocations: 0 / 350.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000553/0.1511, allocations: 394.3 kB / 351.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/0.1517, allocations: 65.42 kB / 351.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.1534, allocations: 1.177 MB / 352.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.1538, allocations: 0.8353 MB / 353.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001691/0.1539, allocations: 47.28 kB / 353.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.964e-05/0.1541, allocations: 27.44 kB / 353.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1541, allocations: 0 / 353.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of Templates: time 0.008661/0.1627, allocations: 4.218 MB / 357.6 MB, free: 4.945 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1)