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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001126/0.001127, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.4/1.4, allocations: 194.3 MB / 208.4 MB, free: 6.699 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001634/0.001634, allocations: 112.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.411e-05/2.415e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08194/0.08198, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2783/0.3604, allocations: 74.65 MB / 424.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001537/0.3605, allocations: 68.14 kB / 424.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01748/0.378, allocations: 8.043 MB / 432.2 MB, free: 8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3781, allocations: 0 / 432.2 MB, free: 8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.63e-05/0.3781, allocations: 15.44 kB / 432.2 MB, free: 8 MB / 298.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.001003/0.3791, allocations: 0.7218 MB / 432.9 MB, free: 7.449 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3792, allocations: 7.562 kB / 432.9 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.3793, allocations: 69.27 kB / 433 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/0.3797, allocations: 355.1 kB / 433.4 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.3798, allocations: 38.22 kB / 433.4 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.279e-05/0.3799, allocations: 44.31 kB / 433.4 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.3805, allocations: 455.5 kB / 433.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3805, allocations: 7.812 kB / 433.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.085e-05/0.3806, allocations: 21.62 kB / 433.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.3806, allocations: 11.66 kB / 433.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004508/0.381, allocations: 303.8 kB / 434.2 MB, free: 6.984 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00248/0.3835, allocations: 1.708 MB / 435.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.3839, allocations: 257.1 kB / 436.2 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.384, allocations: 132.9 kB / 436.3 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.3841, allocations: 4.125 kB / 436.3 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.3841, allocations: 33.69 kB / 436.3 MB, free: 5.801 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.3841, allocations: 0 / 436.3 MB, free: 5.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001145/0.3852, allocations: 0.7533 MB / 437.1 MB, free: 5.336 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.3853, allocations: 85.02 kB / 437.2 MB, free: 5.238 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.3856, allocations: 342.9 kB / 437.5 MB, free: 5.098 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.3856, allocations: 32.11 kB / 437.5 MB, free: 5.066 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.3857, allocations: 289.3 kB / 437.8 MB, free: 4.867 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.3858, allocations: 110 kB / 437.9 MB, free: 4.789 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/0.3858, allocations: 15.09 kB / 438 MB, free: 4.785 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.3859, allocations: 346.3 kB / 438.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.3861, allocations: 91.67 kB / 438.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.3862, allocations: 176.6 kB / 438.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.3864, allocations: 114.4 kB / 438.7 MB, free: 4.332 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3864, allocations: 4 kB / 438.7 MB, free: 4.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000586/0.387, allocations: 426.6 kB / 439.1 MB, free: 4.199 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.387, allocations: 4.156 kB / 439.1 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.3871, allocations: 7.719 kB / 439.1 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002764/0.3873, allocations: 78.78 kB / 439.2 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.3876, allocations: 88.02 kB / 439.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.3892, allocations: 2.85 MB / 442.1 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.3895, allocations: 18 kB / 442.1 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.3895, allocations: 14.38 kB / 442.1 MB, free: 1.445 MB / 298.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 8.235e-05/0.3896, allocations: 134 kB / 442.3 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.3897, allocations: 42.28 kB / 442.3 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.029e-05/0.3898, allocations: 42.78 kB / 442.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3898, allocations: 7.875 kB / 442.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3898, allocations: 3.844 kB / 442.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3898, allocations: 3.953 kB / 442.4 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009713/0.3908, allocations: 0.9116 MB / 443.3 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3908, allocations: 4 kB / 443.3 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.391, allocations: 46.66 kB / 443.3 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002272/0.3912, allocations: 85.17 kB / 443.4 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.3912, allocations: 6.906 kB / 443.4 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.3932, allocations: 2.852 MB / 446.3 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3932, allocations: 0 / 446.3 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006854/0.3939, allocations: 0.5902 MB / 446.9 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3941, allocations: 119.2 kB / 447 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.3941, allocations: 10.16 kB / 447 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.3944, allocations: 30.52 kB / 447 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.3945, allocations: 30.98 kB / 447 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.3945, allocations: 15.7 kB / 447.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002265/0.3948, allocations: 259.6 kB / 447.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3948, allocations: 0 / 447.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004934/0.3953, allocations: 118.5 kB / 447.4 MB, free: 13.45 MB / 314.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.0001507/0.3954, allocations: 114.4 kB / 447.5 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006614/0.3961, allocations: 0.4897 MB / 448 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3961, allocations: 3.938 kB / 448 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004559/0.3966, allocations: 365.7 kB / 448.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.3969, allocations: 57.81 kB / 448.5 MB, free: 12.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.3982, allocations: 0.7035 MB / 449.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.3987, allocations: 0.847 MB / 450 MB, free: 11.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001821/0.3989, allocations: 47.22 kB / 450 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/0.3989, allocations: 31.44 kB / 450.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3989, allocations: 0 / 450.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of Templates: time 0.00899/0.4079, allocations: 4.251 MB / 454.3 MB, free: 7.043 MB / 314.7 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)