Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009532/0.0009531, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.275/1.275, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00159/0.00159, allocations: 107.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.881e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06929/0.06933, allocations: 38.78 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2474/0.3168, allocations: 69.75 MB / 377.4 MB, free: 6.477 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/0.317, allocations: 67.89 kB / 377.5 MB, free: 6.441 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02194/0.339, allocations: 8.243 MB / 385.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.158e-06/0.339, allocations: 8 kB / 385.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.262e-05/0.3391, allocations: 8 kB / 385.7 MB, free: 15.37 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001049/0.3401, allocations: 0.7198 MB / 386.4 MB, free: 14.64 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.3402, allocations: 8.031 kB / 386.4 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.3403, allocations: 67.25 kB / 386.5 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004484/0.3407, allocations: 357.6 kB / 386.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.3408, allocations: 39.12 kB / 386.9 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.6e-05/0.3409, allocations: 49.69 kB / 386.9 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006912/0.3416, allocations: 453.5 kB / 387.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3416, allocations: 3.938 kB / 387.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/0.3416, allocations: 17.38 kB / 387.4 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.3416, allocations: 12 kB / 387.4 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.3421, allocations: 297.8 kB / 387.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.3446, allocations: 1.726 MB / 389.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.3449, allocations: 248.8 kB / 389.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.3451, allocations: 131.2 kB / 389.8 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.3451, allocations: 0 / 389.8 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.3452, allocations: 42.11 kB / 389.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.172e-06/0.3452, allocations: 0 / 389.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001259/0.3464, allocations: 0.7552 MB / 390.6 MB, free: 11.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.3465, allocations: 85.05 kB / 390.7 MB, free: 10.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.3468, allocations: 340.7 kB / 391 MB, free: 10.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.3469, allocations: 33.33 kB / 391 MB, free: 10.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.347, allocations: 288.1 kB / 391.3 MB, free: 10.42 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.981e-05/0.3471, allocations: 111.7 kB / 391.4 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/0.3471, allocations: 11.19 kB / 391.5 MB, free: 10.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3473, allocations: 348.4 kB / 391.8 MB, free: 9.988 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.3475, allocations: 84.44 kB / 391.9 MB, free: 9.938 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.3477, allocations: 182.2 kB / 392.1 MB, free: 9.758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.3479, allocations: 112.8 kB / 392.2 MB, free: 9.684 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3479, allocations: 4 kB / 392.2 MB, free: 9.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006824/0.3486, allocations: 433.6 kB / 392.6 MB, free: 9.336 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3486, allocations: 8 kB / 392.6 MB, free: 9.328 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3486, allocations: 3.953 kB / 392.6 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003068/0.3489, allocations: 83.69 kB / 392.7 MB, free: 9.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.3493, allocations: 79.41 kB / 392.8 MB, free: 9.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.3515, allocations: 2.847 MB / 395.6 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.3517, allocations: 25.69 kB / 395.6 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.3518, allocations: 15.12 kB / 395.6 MB, free: 6.207 MB / 282.7 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 () * 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.0001033/0.3519, allocations: 132.4 kB / 395.8 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.342e-05/0.352, allocations: 47.03 kB / 395.8 MB, free: 6.039 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.305e-05/0.3521, allocations: 48.84 kB / 395.9 MB, free: 6.012 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3521, allocations: 4 kB / 395.9 MB, free: 6.008 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3521, allocations: 4 kB / 395.9 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3521, allocations: 0 / 395.9 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.3533, allocations: 0.9264 MB / 396.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3533, allocations: 0 / 396.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.3535, allocations: 51.53 kB / 396.9 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002559/0.3537, allocations: 80.16 kB / 396.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.3538, allocations: 7.422 kB / 396.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.3558, allocations: 2.853 MB / 399.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3558, allocations: 0 / 399.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007051/0.3565, allocations: 0.5899 MB / 400.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.3567, allocations: 131 kB / 400.5 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.3567, allocations: 10.88 kB / 400.5 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.3571, allocations: 39.84 kB / 400.6 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.3571, allocations: 19.28 kB / 400.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.3572, allocations: 15.61 kB / 400.6 MB, free: 1.406 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002566/0.3574, allocations: 262.2 kB / 400.9 MB, free: 1.203 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3574, allocations: 0 / 400.9 MB, free: 1.203 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005558/0.358, allocations: 124.6 kB / 401 MB, free: 1.094 MB / 282.7 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 () * 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.0001604/0.3582, allocations: 110.3 kB / 401.1 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007537/0.3589, allocations: 0.4904 MB / 401.6 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.359, allocations: 0 / 401.6 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005082/0.3595, allocations: 378.8 kB / 401.9 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.3598, allocations: 53.31 kB / 402 MB, free: 156 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.3611, allocations: 0.7151 MB / 402.7 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.3615, allocations: 0.847 MB / 403.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001761/0.3617, allocations: 43.3 kB / 403.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.073e-05/0.3617, allocations: 35.42 kB / 403.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3618, allocations: 0 / 403.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of Templates: time 0.008358/0.3701, allocations: 4.235 MB / 407.9 MB, free: 10.3 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1)