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.00983/0.00983, allocations: 166.1 kB / 15.11 MB, free: 5.969 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.381/1.381, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001561/0.001561, allocations: 106.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004349, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2888, allocations: 38.78 MB / 312.9 MB, free: 38.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09936/0.3882, allocations: 69.84 MB / 382.7 MB, free: 4.676 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.3885, allocations: 71.97 kB / 382.8 MB, free: 4.605 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02237/0.4109, allocations: 8.219 MB / 391 MB, free: 12.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4109, allocations: 0 / 391 MB, free: 12.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.843e-05/0.411, allocations: 12 kB / 391 MB, free: 12.34 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.001264/0.4122, allocations: 0.7911 MB / 391.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.4123, allocations: 11.97 kB / 391.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.4124, allocations: 63.25 kB / 391.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.4129, allocations: 358.5 kB / 392.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.4129, allocations: 37 kB / 392.3 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/0.413, allocations: 48 kB / 392.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007775/0.4138, allocations: 475.2 kB / 392.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.4138, allocations: 0 / 392.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.575e-05/0.4139, allocations: 24 kB / 392.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.4139, allocations: 15.98 kB / 392.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006046/0.4145, allocations: 340.3 kB / 393.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002635/0.4172, allocations: 1.72 MB / 394.9 MB, free: 8.285 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.4176, allocations: 261.1 kB / 395.1 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.4177, allocations: 8 kB / 395.2 MB, free: 8.004 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.4177, allocations: 38.56 kB / 395.2 MB, free: 7.957 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.325e-06/0.4177, allocations: 0 / 395.2 MB, free: 7.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001863/0.4196, allocations: 0.9752 MB / 396.2 MB, free: 6.906 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.4196, allocations: 81.11 kB / 396.2 MB, free: 6.809 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.42, allocations: 344.8 kB / 396.6 MB, free: 6.461 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.4201, allocations: 33.7 kB / 396.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.4202, allocations: 287.5 kB / 396.9 MB, free: 6.137 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.589e-05/0.4203, allocations: 117.8 kB / 397 MB, free: 6.023 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/0.4204, allocations: 8 kB / 397 MB, free: 6.016 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4205, allocations: 350.8 kB / 397.4 MB, free: 5.664 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.4207, allocations: 104.8 kB / 397.5 MB, free: 5.562 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.421, allocations: 198.8 kB / 397.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.4212, allocations: 125.6 kB / 397.8 MB, free: 5.203 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4212, allocations: 4 kB / 397.8 MB, free: 5.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008175/0.4221, allocations: 459.6 kB / 398.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.4221, allocations: 4 kB / 398.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4221, allocations: 7.938 kB / 398.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003284/0.4224, allocations: 85.83 kB / 398.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.4228, allocations: 91.77 kB / 398.4 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.4252, allocations: 2.866 MB / 401.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.4255, allocations: 19.98 kB / 401.3 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.4256, allocations: 16.38 kB / 401.3 MB, free: 1.387 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 () * 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.0002636/0.4258, allocations: 173.7 kB / 401.5 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.949e-05/0.4259, allocations: 43.53 kB / 401.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.866e-05/0.426, allocations: 39.52 kB / 401.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.426, allocations: 4 kB / 401.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.4261, allocations: 4 kB / 401.6 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4261, allocations: 7.984 kB / 401.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.4274, allocations: 0.9415 MB / 402.5 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.4274, allocations: 7.953 kB / 402.5 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.4276, allocations: 47.92 kB / 402.6 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003022/0.4279, allocations: 85.62 kB / 402.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.428, allocations: 8 kB / 402.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/0.4303, allocations: 2.877 MB / 405.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4303, allocations: 0 / 405.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008742/0.4312, allocations: 0.6359 MB / 406.2 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.4314, allocations: 136.6 kB / 406.3 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.4314, allocations: 8 kB / 406.3 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.4318, allocations: 35.97 kB / 406.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/0.4319, allocations: 23.97 kB / 406.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.4319, allocations: 8 kB / 406.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002805/0.4322, allocations: 275.2 kB / 406.7 MB, free: 11.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4322, allocations: 0 / 406.7 MB, free: 11.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005682/0.4328, allocations: 124 kB / 406.8 MB, free: 11.54 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 () * 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.0001655/0.4329, allocations: 115.2 kB / 406.9 MB, free: 11.42 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009049/0.4338, allocations: 0.5168 MB / 407.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.4339, allocations: 0 / 407.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005793/0.4344, allocations: 389.5 kB / 407.8 MB, free: 10.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.4349, allocations: 57.47 kB / 407.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.4371, allocations: 1.181 MB / 409 MB, free: 9.203 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/0.4377, allocations: 0.8548 MB / 409.9 MB, free: 8.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003245/0.4381, allocations: 43.28 kB / 409.9 MB, free: 8.273 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.477e-05/0.4382, allocations: 27.44 kB / 410 MB, free: 8.246 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.4382, allocations: 4 kB / 410 MB, free: 8.242 MB / 314.7 MB Notification: Performance of Templates: time 0.009698/0.4479, allocations: 4.233 MB / 414.2 MB, free: 4.035 MB / 314.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)