Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001056/0.001056, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009907/0.0009909, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.839/1.839, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.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.0005949/0.0005954, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3308, allocations: 47.58 MB / 326.4 MB, free: 1.508 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004177/0.335, allocations: 3.225 MB / 329.7 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00265/0.3377, allocations: 0.9241 MB / 330.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004637/0.3382, allocations: 8.75 kB / 330.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.3384, allocations: 66.67 kB / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005904/0.339, allocations: 206.8 kB / 330.9 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/0.3395, allocations: 97.14 kB / 331 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008327/0.3403, allocations: 471.7 kB / 331.4 MB, free: 13.6 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/0.3408, allocations: 154.8 kB / 331.6 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004687/0.3412, allocations: 215.4 kB / 331.8 MB, free: 13.4 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000427/0.3417, allocations: 251.3 kB / 332 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.101e-05/0.3418, allocations: 31.5 kB / 332.1 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.3419, allocations: 30.59 kB / 332.1 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.342, allocations: 101.5 kB / 332.2 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.3422, allocations: 133.3 kB / 332.3 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005418/0.3428, allocations: 467.8 kB / 332.8 MB, free: 12.72 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3428, allocations: 0 / 332.8 MB, free: 12.72 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.3428, allocations: 5.125 kB / 332.8 MB, free: 12.71 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.3428, allocations: 0 / 332.8 MB, free: 12.71 MB / 270.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.001777/0.3446, allocations: 0.7867 MB / 333.6 MB, free: 12.08 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/0.3447, allocations: 8.906 kB / 333.6 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.3449, allocations: 63.62 kB / 333.6 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006032/0.3455, allocations: 353.7 kB / 334 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/0.3455, allocations: 45.23 kB / 334 MB, free: 11.7 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.3457, allocations: 48.5 kB / 334.1 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.3467, allocations: 472.1 kB / 334.5 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.3468, allocations: 3.984 kB / 334.5 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-05/0.3469, allocations: 21.66 kB / 334.6 MB, free: 11.37 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.3469, allocations: 16.62 kB / 334.6 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006859/0.3476, allocations: 336.3 kB / 334.9 MB, free: 11.03 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003188/0.3508, allocations: 1.705 MB / 336.6 MB, free: 9.23 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.3514, allocations: 273 kB / 336.9 MB, free: 8.945 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.3514, allocations: 11.98 kB / 336.9 MB, free: 8.934 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.3515, allocations: 34.56 kB / 336.9 MB, free: 8.891 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.3515, allocations: 4 kB / 336.9 MB, free: 8.887 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.002253/0.3537, allocations: 0.9658 MB / 337.9 MB, free: 7.844 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.832e-05/0.3538, allocations: 85.05 kB / 338 MB, free: 7.742 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.3543, allocations: 381.5 kB / 338.4 MB, free: 7.359 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.3544, allocations: 33.7 kB / 338.4 MB, free: 7.32 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.3546, allocations: 279.5 kB / 338.7 MB, free: 7.039 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.38e-05/0.3547, allocations: 118.3 kB / 338.8 MB, free: 6.922 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.3547, allocations: 8 kB / 338.8 MB, free: 6.914 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3549, allocations: 346.8 kB / 339.1 MB, free: 6.566 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.3551, allocations: 112.8 kB / 339.2 MB, free: 6.457 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.3554, allocations: 194.8 kB / 339.4 MB, free: 6.23 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.3557, allocations: 132.8 kB / 339.6 MB, free: 6.102 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3557, allocations: 0 / 339.6 MB, free: 6.102 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007924/0.3565, allocations: 460.9 kB / 340 MB, free: 5.641 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.3565, allocations: 4 kB / 340 MB, free: 5.637 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.3565, allocations: 4 kB / 340 MB, free: 5.633 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003759/0.3569, allocations: 85.81 kB / 340.1 MB, free: 5.543 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.3573, allocations: 79.86 kB / 340.2 MB, free: 5.465 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/0.3602, allocations: 2.865 MB / 343 MB, free: 2.336 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.3605, allocations: 15.94 kB / 343.1 MB, free: 2.32 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.3606, allocations: 24.05 kB / 343.1 MB, free: 2.297 MB / 270.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.0002804/0.3609, allocations: 165.7 kB / 343.2 MB, free: 2.125 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.361, allocations: 47.48 kB / 343.3 MB, free: 2.078 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.058e-05/0.3611, allocations: 43.47 kB / 343.3 MB, free: 2.035 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3611, allocations: 4 kB / 343.3 MB, free: 2.031 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.3611, allocations: 0 / 343.3 MB, free: 2.031 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.3611, allocations: 11.97 kB / 343.3 MB, free: 2.02 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.3626, allocations: 0.9361 MB / 344.3 MB, free: 1.02 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3626, allocations: 4 kB / 344.3 MB, free: 1.016 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.3628, allocations: 52.28 kB / 344.3 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002693/0.3631, allocations: 89.59 kB / 344.4 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.3631, allocations: 8 kB / 344.4 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003145/0.3663, allocations: 2.861 MB / 347.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3663, allocations: 0 / 347.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.3675, allocations: 0.6442 MB / 347.9 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.3677, allocations: 121 kB / 348 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.3678, allocations: 4 kB / 348.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.3682, allocations: 39.98 kB / 348.1 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.722e-05/0.3683, allocations: 31.89 kB / 348.1 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.3683, allocations: 8 kB / 348.1 MB, free: 12.84 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003302/0.3686, allocations: 267.2 kB / 348.4 MB, free: 12.58 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3686, allocations: 0 / 348.4 MB, free: 12.58 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006937/0.3693, allocations: 120 kB / 348.5 MB, free: 12.46 MB / 286.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.0002026/0.3695, allocations: 111.3 kB / 348.6 MB, free: 12.34 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.3706, allocations: 0.5205 MB / 349.1 MB, free: 11.8 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3706, allocations: 4 kB / 349.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006083/0.3713, allocations: 389.7 kB / 349.5 MB, free: 11.39 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.3718, allocations: 57.42 kB / 349.6 MB, free: 11.33 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.3738, allocations: 1.168 MB / 350.7 MB, free: 10.13 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.3744, allocations: 0.847 MB / 351.6 MB, free: 9.254 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002416/0.3746, allocations: 47.28 kB / 351.6 MB, free: 9.207 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.176e-05/0.3747, allocations: 27.44 kB / 351.7 MB, free: 9.184 MB / 286.1 MB Notification: Performance of SimCode: time 2.134e-06/0.3747, allocations: 0 / 351.7 MB, free: 9.184 MB / 286.1 MB Notification: Performance of Templates: time 0.009736/0.3845, allocations: 4.211 MB / 355.9 MB, free: 4.973 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) Environment - environmentSimulation: