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.0008136/0.0008138, allocations: 89.84 kB / 16.65 MB, free: 6.59 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.0008832/0.0008833, allocations: 181.8 kB / 17.56 MB, free: 6.203 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.439/1.439, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0007595/0.0007595, allocations: 12 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1326, allocations: 47.58 MB / 328.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004271/0.1369, allocations: 3.667 MB / 332 MB, free: 76 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.1388, allocations: 0.9084 MB / 332.9 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.1391, allocations: 15.88 kB / 332.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.1393, allocations: 67.44 kB / 333 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.1397, allocations: 146.8 kB / 333.1 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.14, allocations: 123.8 kB / 333.2 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006553/0.1407, allocations: 0.642 MB / 333.9 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.1411, allocations: 167.9 kB / 334 MB, free: 14 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.1414, allocations: 231 kB / 334.3 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.1417, allocations: 262.7 kB / 334.5 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.885e-05/0.1418, allocations: 32 kB / 334.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.1418, allocations: 32 kB / 334.6 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.142, allocations: 103.5 kB / 334.7 MB, free: 13.35 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.1423, allocations: 300.2 kB / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005317/0.1428, allocations: 0.6033 MB / 335.6 MB, free: 12.44 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1428, allocations: 0 / 335.6 MB, free: 12.44 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1428, allocations: 0 / 335.6 MB, free: 12.44 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1428, allocations: 0 / 335.6 MB, free: 12.44 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.001234/0.1441, allocations: 0.7755 MB / 336.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1441, allocations: 12.03 kB / 336.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.1442, allocations: 60.28 kB / 336.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.1447, allocations: 367.7 kB / 336.8 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/0.1448, allocations: 41.31 kB / 336.8 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.314e-05/0.1449, allocations: 56.28 kB / 336.9 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009333/0.1458, allocations: 487.5 kB / 337.4 MB, free: 10.56 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.1458, allocations: 3.938 kB / 337.4 MB, free: 10.56 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.745e-05/0.1459, allocations: 24 kB / 337.4 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.1459, allocations: 12 kB / 337.4 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007012/0.1466, allocations: 340.3 kB / 337.7 MB, free: 10.19 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.1495, allocations: 1.72 MB / 339.5 MB, free: 8.375 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.15, allocations: 269 kB / 339.7 MB, free: 8.094 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.1503, allocations: 153.7 kB / 339.9 MB, free: 7.938 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.1503, allocations: 0 / 339.9 MB, free: 7.938 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.1504, allocations: 38.56 kB / 339.9 MB, free: 7.891 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 4.489e-06/0.1504, allocations: 3.984 kB / 339.9 MB, free: 7.887 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001955/0.1523, allocations: 0.974 MB / 340.9 MB, free: 6.836 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.1524, allocations: 81.11 kB / 341 MB, free: 6.738 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004275/0.1528, allocations: 381.6 kB / 341.3 MB, free: 6.355 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.1529, allocations: 33.7 kB / 341.4 MB, free: 6.316 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.1531, allocations: 287.4 kB / 341.6 MB, free: 6.031 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.39e-05/0.1532, allocations: 114.4 kB / 341.8 MB, free: 5.918 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.1532, allocations: 45.69 kB / 341.8 MB, free: 5.867 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1534, allocations: 354.7 kB / 342.1 MB, free: 5.512 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.1536, allocations: 100.8 kB / 342.2 MB, free: 5.41 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.1539, allocations: 202.6 kB / 342.4 MB, free: 5.176 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.1545, allocations: 310 kB / 342.7 MB, free: 4.836 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1545, allocations: 4 kB / 342.8 MB, free: 4.832 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008786/0.1554, allocations: 454.5 kB / 343.2 MB, free: 4.375 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.1554, allocations: 4 kB / 343.2 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.1554, allocations: 11.94 kB / 343.2 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004108/0.1558, allocations: 81.81 kB / 343.3 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.1562, allocations: 83.89 kB / 343.4 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/0.1587, allocations: 2.845 MB / 346.2 MB, free: 1.082 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.159, allocations: 23.89 kB / 346.2 MB, free: 1.059 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.1591, allocations: 16.06 kB / 346.3 MB, free: 1.043 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 (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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002504/0.1593, allocations: 173.6 kB / 346.4 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1594, allocations: 43.53 kB / 346.5 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.197e-05/0.1595, allocations: 43.47 kB / 346.5 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1595, allocations: 4 kB / 346.5 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.1595, allocations: 0 / 346.5 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.1596, allocations: 7.984 kB / 346.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.1609, allocations: 0.9324 MB / 347.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1609, allocations: 11.98 kB / 347.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.1611, allocations: 43.92 kB / 347.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002801/0.1614, allocations: 89.56 kB / 347.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.1614, allocations: 11.98 kB / 347.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/0.1637, allocations: 2.857 MB / 350.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1637, allocations: 0 / 350.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009587/0.1647, allocations: 0.6285 MB / 351.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.1648, allocations: 116.7 kB / 351.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.1648, allocations: 7.938 kB / 351.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.1652, allocations: 35.98 kB / 351.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/0.1653, allocations: 27.95 kB / 351.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.1653, allocations: 8 kB / 351.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000306/0.1656, allocations: 275.1 kB / 351.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1656, allocations: 0 / 351.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006352/0.1662, allocations: 120 kB / 351.7 MB, free: 11.23 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 (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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001724/0.1664, allocations: 111.2 kB / 351.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009767/0.1674, allocations: 0.517 MB / 352.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1674, allocations: 0 / 352.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006147/0.168, allocations: 389.6 kB / 352.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006211/0.1687, allocations: 77.42 kB / 352.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.1705, allocations: 1.218 MB / 354 MB, free: 8.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.171, allocations: 0.8314 MB / 354.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000173/0.1712, allocations: 47.28 kB / 354.8 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.737e-05/0.1713, allocations: 31.44 kB / 354.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1713, allocations: 0 / 354.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of Templates: time 0.009492/0.1808, allocations: 4.374 MB / 359.3 MB, free: 3.543 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)