Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01197/0.01197, allocations: 166.2 kB / 15.11 MB, free: 5.977 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.316/1.316, allocations: 170.8 MB / 186.6 MB, free: 0.9688 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.001634/0.001634, allocations: 122.5 kB / 226.2 MB, free: 10.08 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003829, allocations: 11.98 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2535, allocations: 38.76 MB / 312.9 MB, free: 38.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09368/0.3472, allocations: 67.53 MB / 380.4 MB, free: 6.996 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.3476, allocations: 67.97 kB / 380.5 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01476/0.3623, allocations: 5.488 MB / 386 MB, free: 1.438 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3624, allocations: 0 / 386 MB, free: 1.438 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.256e-05/0.3624, allocations: 8 kB / 386 MB, free: 1.43 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001047/0.3635, allocations: 0.6161 MB / 386.6 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3635, allocations: 8.031 kB / 386.6 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.3637, allocations: 43.53 kB / 386.6 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.364, allocations: 282.8 kB / 386.9 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.3641, allocations: 36.94 kB / 386.9 MB, free: 372 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.629e-05/0.3642, allocations: 44 kB / 387 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00077/0.3649, allocations: 439.3 kB / 387.4 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.365, allocations: 4 kB / 387.4 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.365, allocations: 20 kB / 387.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.365, allocations: 11.94 kB / 387.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005754/0.3656, allocations: 283.9 kB / 387.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.3677, allocations: 1.322 MB / 389.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.3681, allocations: 242.9 kB / 389.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.3682, allocations: 7.984 kB / 389.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.3682, allocations: 35.06 kB / 389.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 3.326e-06/0.3682, allocations: 0 / 389.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001463/0.3697, allocations: 0.5615 MB / 389.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.3699, allocations: 247.3 kB / 390.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.3701, allocations: 190.1 kB / 390.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.3702, allocations: 33.7 kB / 390.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.3703, allocations: 196.2 kB / 390.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.23e-05/0.3704, allocations: 94.56 kB / 390.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.3705, allocations: 12 kB / 390.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3706, allocations: 338.8 kB / 391 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.3708, allocations: 79.97 kB / 391.1 MB, free: 12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.371, allocations: 163.7 kB / 391.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.3712, allocations: 107.5 kB / 391.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3712, allocations: 0 / 391.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004822/0.3717, allocations: 285.2 kB / 391.6 MB, free: 11.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.3718, allocations: 8 kB / 391.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3718, allocations: 0 / 391.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3718, allocations: 0 / 391.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.3722, allocations: 87.88 kB / 391.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.3722, allocations: 7.984 kB / 391.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.3724, allocations: 31.69 kB / 391.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.3725, allocations: 8 kB / 391.7 MB, free: 11.28 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001946/0.3727, allocations: 149.8 kB / 391.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.3727, allocations: 27.72 kB / 391.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.936e-05/0.3728, allocations: 34.64 kB / 391.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3728, allocations: 4 kB / 392 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/0.3729, allocations: 7.953 kB / 392 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.3729, allocations: 3.984 kB / 392 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005426/0.3734, allocations: 389.3 kB / 392.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3734, allocations: 0 / 392.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.3737, allocations: 55.91 kB / 392.4 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003525/0.3741, allocations: 88.8 kB / 392.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.3741, allocations: 11.94 kB / 392.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.3762, allocations: 1.861 MB / 394.4 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3763, allocations: 3.953 kB / 394.4 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/0.3771, allocations: 0.5053 MB / 394.9 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.3772, allocations: 124.8 kB / 395 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.3773, allocations: 11.98 kB / 395 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.3775, allocations: 15.95 kB / 395 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.3775, allocations: 19.97 kB / 395 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.3776, allocations: 4 kB / 395 MB, free: 7.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001464/0.3777, allocations: 164.2 kB / 395.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3777, allocations: 0 / 395.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004378/0.3782, allocations: 107.7 kB / 395.3 MB, free: 7.484 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001835/0.3784, allocations: 111.2 kB / 395.4 MB, free: 7.367 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004378/0.3788, allocations: 224.1 kB / 395.6 MB, free: 7.148 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3788, allocations: 0 / 395.6 MB, free: 7.148 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004788/0.3793, allocations: 282.5 kB / 395.9 MB, free: 6.859 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.3796, allocations: 24.03 kB / 395.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.3812, allocations: 1.058 MB / 397 MB, free: 5.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.3817, allocations: 0.7989 MB / 397.8 MB, free: 4.926 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.3818, allocations: 29.92 kB / 397.8 MB, free: 4.898 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.3819, allocations: 19.44 kB / 397.8 MB, free: 4.879 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.3819, allocations: 3.938 kB / 397.8 MB, free: 4.875 MB / 298.7 MB Notification: Performance of Templates: time 0.006694/0.3886, allocations: 2.619 MB / 400.5 MB, free: 2.262 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1)