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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.614/1.614, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.001278/0.001278, allocations: 47.94 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3086, allocations: 46.63 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006005/0.3146, allocations: 4.035 MB / 329.3 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.3168, allocations: 0.9146 MB / 330.3 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.317, allocations: 11.91 kB / 330.3 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.3173, allocations: 90.97 kB / 330.4 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003824/0.3177, allocations: 180.7 kB / 330.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.3181, allocations: 145.9 kB / 330.7 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007971/0.3189, allocations: 0.6652 MB / 331.3 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004354/0.3193, allocations: 204.9 kB / 331.5 MB, free: 12.98 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003636/0.3197, allocations: 260.9 kB / 331.8 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003803/0.3201, allocations: 284.6 kB / 332.1 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.3202, allocations: 58.62 kB / 332.1 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.3203, allocations: 55.53 kB / 332.2 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.3205, allocations: 129.4 kB / 332.3 MB, free: 12.51 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.3208, allocations: 311.5 kB / 332.6 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007577/0.3216, allocations: 0.6261 MB / 333.2 MB, free: 11.83 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3216, allocations: 1.156 kB / 333.2 MB, free: 11.83 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3216, allocations: 0 / 333.2 MB, free: 11.83 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.362e-05/0.3216, allocations: 0 / 333.2 MB, free: 11.83 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.001546/0.3232, allocations: 0.8602 MB / 334.1 MB, free: 11.04 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.3233, allocations: 12.03 kB / 334.1 MB, free: 11.03 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.3234, allocations: 76.17 kB / 334.2 MB, free: 10.95 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.3239, allocations: 367.6 kB / 334.6 MB, free: 10.55 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.3239, allocations: 37.38 kB / 334.6 MB, free: 10.52 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.649e-05/0.324, allocations: 48.38 kB / 334.6 MB, free: 10.47 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007845/0.3248, allocations: 483.5 kB / 335.1 MB, free: 9.98 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3248, allocations: 0 / 335.1 MB, free: 9.98 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.3249, allocations: 20 kB / 335.1 MB, free: 9.961 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.3249, allocations: 12 kB / 335.1 MB, free: 9.949 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006049/0.3255, allocations: 336.3 kB / 335.5 MB, free: 9.617 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.3284, allocations: 1.697 MB / 337.2 MB, free: 7.824 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/0.3289, allocations: 261.1 kB / 337.4 MB, free: 7.551 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.3291, allocations: 149.6 kB / 337.6 MB, free: 7.398 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.3292, allocations: 4 kB / 337.6 MB, free: 7.395 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.3292, allocations: 34.56 kB / 337.6 MB, free: 7.352 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.453e-06/0.3292, allocations: 4 kB / 337.6 MB, free: 7.348 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.00202/0.3313, allocations: 0.9462 MB / 338.6 MB, free: 6.324 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.3313, allocations: 81.11 kB / 338.6 MB, free: 6.227 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.3318, allocations: 389.6 kB / 339 MB, free: 5.836 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.3318, allocations: 37.64 kB / 339.1 MB, free: 5.793 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.332, allocations: 283.5 kB / 339.3 MB, free: 5.512 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.822e-05/0.3321, allocations: 118.3 kB / 339.4 MB, free: 5.395 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.3322, allocations: 66.14 kB / 339.5 MB, free: 5.324 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3323, allocations: 354.7 kB / 339.9 MB, free: 4.969 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.3325, allocations: 100.8 kB / 340 MB, free: 4.871 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.3328, allocations: 190.6 kB / 340.1 MB, free: 4.648 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.3333, allocations: 313.9 kB / 340.4 MB, free: 4.305 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3333, allocations: 0 / 340.4 MB, free: 4.305 MB / 270.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008154/0.3341, allocations: 454.5 kB / 340.9 MB, free: 3.848 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3342, allocations: 4 kB / 340.9 MB, free: 3.844 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3342, allocations: 4 kB / 340.9 MB, free: 3.84 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003672/0.3345, allocations: 81.72 kB / 341 MB, free: 3.754 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.3349, allocations: 75.91 kB / 341.1 MB, free: 3.68 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/0.3375, allocations: 3.131 MB / 344.2 MB, free: 280 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.3378, allocations: 23.88 kB / 344.2 MB, free: 256 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.3378, allocations: 16 kB / 344.2 MB, free: 240 kB / 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 (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.0001989/0.338, allocations: 165.7 kB / 344.4 MB, free: 64 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.231e-05/0.3381, allocations: 39.53 kB / 344.4 MB, free: 24 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.987e-05/0.3382, allocations: 47.55 kB / 344.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3382, allocations: 64 / 344.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.3383, allocations: 15.92 kB / 344.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3383, allocations: 0 / 344.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.3397, allocations: 0.9344 MB / 345.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3397, allocations: 4 kB / 345.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.3399, allocations: 44.11 kB / 345.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002642/0.3402, allocations: 85.64 kB / 345.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.3402, allocations: 7.984 kB / 345.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.3427, allocations: 3.131 MB / 348.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.3427, allocations: 4 kB / 348.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.3438, allocations: 0.613 MB / 349.3 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.316e-05/0.3439, allocations: 112.6 kB / 349.4 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/0.3439, allocations: 15.92 kB / 349.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/0.3443, allocations: 35.98 kB / 349.5 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.3443, allocations: 19.97 kB / 349.5 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.3444, allocations: 15.92 kB / 349.5 MB, free: 10.55 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002907/0.3447, allocations: 271.2 kB / 349.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3447, allocations: 3.938 kB / 349.8 MB, free: 10.28 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005858/0.3453, allocations: 116 kB / 349.9 MB, free: 10.17 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 (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.0001556/0.3454, allocations: 111.2 kB / 350 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009412/0.3464, allocations: 0.5173 MB / 350.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3464, allocations: 4 kB / 350.5 MB, free: 9.504 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005937/0.347, allocations: 381.8 kB / 350.9 MB, free: 9.105 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005868/0.3476, allocations: 61.53 kB / 350.9 MB, free: 9.047 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.3494, allocations: 0.9608 MB / 351.9 MB, free: 8.055 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.3498, allocations: 0.8353 MB / 352.7 MB, free: 7.191 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.35, allocations: 47.28 kB / 352.8 MB, free: 7.145 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-05/0.3501, allocations: 27.44 kB / 352.8 MB, free: 7.121 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3501, allocations: 4 kB / 352.8 MB, free: 7.117 MB / 286.1 MB Notification: Performance of Templates: time 0.009984/0.3601, allocations: 4.67 MB / 357.5 MB, free: 2.445 MB / 286.1 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)