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.007887/0.007891, allocations: 101.3 kB / 15.73 MB, free: 6.051 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.001531/0.001532, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.41/1.41, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001541/0.001541, allocations: 51.92 kB / 326.6 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1048, allocations: 46.62 MB / 373.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005475/0.1103, allocations: 4.045 MB / 377.2 MB, free: 480 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2429/0.3532, allocations: 0.9032 MB / 378.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.3536, allocations: 11.81 kB / 378.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003491/0.354, allocations: 92.03 kB / 378.2 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005375/0.3545, allocations: 180.7 kB / 378.4 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000628/0.3552, allocations: 142.9 kB / 378.6 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.3563, allocations: 0.6723 MB / 379.2 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005718/0.3569, allocations: 213.2 kB / 379.4 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005374/0.3575, allocations: 252.2 kB / 379.7 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005619/0.358, allocations: 294.7 kB / 380 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.3582, allocations: 56.41 kB / 380 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.3584, allocations: 55.16 kB / 380.1 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.3586, allocations: 129.6 kB / 380.2 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005603/0.3592, allocations: 303.1 kB / 380.5 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.3607, allocations: 0.6386 MB / 381.1 MB, free: 9.141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.3607, allocations: 0 / 381.1 MB, free: 9.141 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.1e-06/0.3607, allocations: 1.281 kB / 381.1 MB, free: 9.141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.3607, allocations: 3.938 kB / 381.1 MB, free: 9.137 MB / 318.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.002018/0.3628, allocations: 0.8608 MB / 382 MB, free: 8.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.579e-05/0.3628, allocations: 10.61 kB / 382 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.363, allocations: 64.69 kB / 382.1 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008162/0.3638, allocations: 373.6 kB / 382.4 MB, free: 8.281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-05/0.3639, allocations: 36.69 kB / 382.5 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.364, allocations: 49.19 kB / 382.5 MB, free: 8.246 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.3651, allocations: 476.2 kB / 383 MB, free: 8.039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.3652, allocations: 3.938 kB / 383 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.662e-05/0.3652, allocations: 21.47 kB / 383 MB, free: 8.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/0.3653, allocations: 15.88 kB / 383 MB, free: 8.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007658/0.366, allocations: 335.3 kB / 383.4 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003621/0.3697, allocations: 1.677 MB / 385 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006116/0.3703, allocations: 271.3 kB / 385.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.3706, allocations: 141.5 kB / 385.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.3707, allocations: 6.281 kB / 385.4 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.3707, allocations: 38.12 kB / 385.5 MB, free: 6.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.3707, allocations: 1.094 kB / 385.5 MB, free: 6.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.00231/0.3731, allocations: 0.9505 MB / 386.4 MB, free: 5.945 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.3731, allocations: 85.02 kB / 386.5 MB, free: 5.848 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.3737, allocations: 380.2 kB / 386.9 MB, free: 5.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.3737, allocations: 30.95 kB / 386.9 MB, free: 5.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.3739, allocations: 289.4 kB / 387.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.802e-05/0.374, allocations: 109 kB / 387.3 MB, free: 5.309 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.3741, allocations: 76.75 kB / 387.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3742, allocations: 356.9 kB / 387.7 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.3745, allocations: 106.9 kB / 387.8 MB, free: 4.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.3748, allocations: 193.5 kB / 388 MB, free: 4.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005172/0.3753, allocations: 307 kB / 388.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.3753, allocations: 5.031 kB / 388.3 MB, free: 4.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009748/0.3763, allocations: 443.6 kB / 388.8 MB, free: 4.336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.3763, allocations: 7 kB / 388.8 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.3763, allocations: 2.938 kB / 388.8 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004566/0.3768, allocations: 88.08 kB / 388.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.3772, allocations: 82.02 kB / 388.9 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.3796, allocations: 3.131 MB / 392.1 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.38, allocations: 22.11 kB / 392.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.38, allocations: 16.47 kB / 392.1 MB, free: 1.207 MB / 318.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.000297/0.3803, allocations: 171.5 kB / 392.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.3805, allocations: 44.59 kB / 392.3 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.469e-05/0.3806, allocations: 48.69 kB / 392.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3806, allocations: 2.312 kB / 392.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/0.3806, allocations: 6.281 kB / 392.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3806, allocations: 0 / 392.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.3823, allocations: 0.9196 MB / 393.3 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3823, allocations: 2.219 kB / 393.3 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.3825, allocations: 45.53 kB / 393.3 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000284/0.3828, allocations: 92.2 kB / 393.4 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.3828, allocations: 5.594 kB / 393.4 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002828/0.3857, allocations: 3.129 MB / 396.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3857, allocations: 2 kB / 396.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.387, allocations: 0.6068 MB / 397.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.3872, allocations: 118.4 kB / 397.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-05/0.3873, allocations: 11.34 kB / 397.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/0.3877, allocations: 31.86 kB / 397.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.3878, allocations: 24.25 kB / 397.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.3879, allocations: 12.14 kB / 397.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003965/0.3883, allocations: 271.1 kB / 397.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3883, allocations: 9.375 kB / 397.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007705/0.3891, allocations: 115 kB / 397.8 MB, free: 12.62 MB / 334.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.0002022/0.3893, allocations: 113.6 kB / 397.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.3903, allocations: 0.5189 MB / 398.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3903, allocations: 0 / 398.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006083/0.3909, allocations: 380.5 kB / 398.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.3915, allocations: 65.38 kB / 398.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.3932, allocations: 0.9435 MB / 399.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.3936, allocations: 0.8413 MB / 400.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.3938, allocations: 44.53 kB / 400.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/0.3939, allocations: 32.58 kB / 400.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3939, allocations: 1.062 kB / 400.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of Templates: time 0.01012/0.404, allocations: 4.746 MB / 405.4 MB, free: 9.266 MB / 334.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)