Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001806/0.001805, allocations: 182.8 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.35/1.35, allocations: 194.2 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001711/0.001711, allocations: 120.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.155e-05/3.157e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0835/0.08354, allocations: 44.5 MB / 349.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3126/0.3962, allocations: 72.63 MB / 422.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.3966, allocations: 67.58 kB / 422.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01282/0.4094, allocations: 5.445 MB / 427.6 MB, free: 9.438 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.4095, allocations: 4 kB / 427.6 MB, free: 9.434 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.4095, allocations: 7.812 kB / 427.6 MB, free: 9.434 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0006939/0.4102, allocations: 0.5836 MB / 428.2 MB, free: 8.953 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4102, allocations: 11.66 kB / 428.2 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.4103, allocations: 46.7 kB / 428.2 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.4106, allocations: 274.2 kB / 428.5 MB, free: 8.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.4106, allocations: 27.25 kB / 428.5 MB, free: 8.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-05/0.4106, allocations: 49.72 kB / 428.6 MB, free: 8.676 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.4112, allocations: 435.1 kB / 429 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.4112, allocations: 0 / 429 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.4112, allocations: 20 kB / 429 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.4113, allocations: 7.625 kB / 429 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.4116, allocations: 274.8 kB / 429.3 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.4132, allocations: 1.319 MB / 430.6 MB, free: 7.699 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.4135, allocations: 232.1 kB / 430.8 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.4138, allocations: 197.8 kB / 431 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.4138, allocations: 0 / 431 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.4138, allocations: 34.41 kB / 431.1 MB, free: 7.598 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.112e-06/0.4138, allocations: 0 / 431.1 MB, free: 7.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005129/0.4144, allocations: 290.2 kB / 431.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.4144, allocations: 235.2 kB / 431.6 MB, free: 7.227 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.4146, allocations: 185.2 kB / 431.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.4146, allocations: 33.42 kB / 431.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.779e-05/0.4147, allocations: 198.2 kB / 432 MB, free: 6.934 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.4147, allocations: 100.1 kB / 432.1 MB, free: 6.859 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.24e-05/0.4148, allocations: 10.97 kB / 432.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.66e-05/0.4148, allocations: 333.4 kB / 432.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.4149, allocations: 70.88 kB / 432.5 MB, free: 6.531 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.4151, allocations: 147.8 kB / 432.6 MB, free: 6.441 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.4152, allocations: 90.83 kB / 432.7 MB, free: 6.426 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4152, allocations: 0 / 432.7 MB, free: 6.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003177/0.4155, allocations: 259.8 kB / 433 MB, free: 6.355 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4156, allocations: 3.844 kB / 433 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4156, allocations: 3.781 kB / 433 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.4156, allocations: 3.938 kB / 433 MB, free: 6.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.4159, allocations: 84.61 kB / 433.1 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.4159, allocations: 3.938 kB / 433.1 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.4161, allocations: 38.61 kB / 433.1 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.4161, allocations: 15.56 kB / 433.1 MB, free: 6.305 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 7.176e-05/0.4162, allocations: 131 kB / 433.2 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.4162, allocations: 23.31 kB / 433.3 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.721e-05/0.4163, allocations: 31.86 kB / 433.3 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.4164, allocations: 3.906 kB / 433.3 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4164, allocations: 0 / 433.3 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4164, allocations: 0 / 433.3 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008075/0.4172, allocations: 0.7791 MB / 434.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4172, allocations: 0 / 434.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.4175, allocations: 49.5 kB / 434.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002681/0.4177, allocations: 89.19 kB / 434.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.4178, allocations: 7.219 kB / 434.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.4191, allocations: 1.821 MB / 436 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4191, allocations: 0 / 436 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005245/0.4196, allocations: 0.4939 MB / 436.5 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.4197, allocations: 100.4 kB / 436.6 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.4197, allocations: 15.17 kB / 436.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.4199, allocations: 22.92 kB / 436.7 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.42, allocations: 19.5 kB / 436.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.42, allocations: 7.719 kB / 436.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.058e-05/0.4201, allocations: 149.7 kB / 436.9 MB, free: 3.871 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4201, allocations: 0 / 436.9 MB, free: 3.871 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003577/0.4204, allocations: 109.2 kB / 437 MB, free: 3.852 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete 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.0001329/0.4206, allocations: 110.9 kB / 437.1 MB, free: 3.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00027/0.4209, allocations: 194.7 kB / 437.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4209, allocations: 0 / 437.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.4212, allocations: 257.6 kB / 437.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.4214, allocations: 25.48 kB / 437.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008405/0.4222, allocations: 0.6858 MB / 438.2 MB, free: 3.125 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.4224, allocations: 0.7924 MB / 439 MB, free: 2.379 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.358e-05/0.4225, allocations: 25.59 kB / 439 MB, free: 2.363 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.4226, allocations: 26.75 kB / 439.1 MB, free: 2.355 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4226, allocations: 3.938 kB / 439.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of Templates: time 0.005013/0.4276, allocations: 2.594 MB / 441.7 MB, free: 1.09 MB / 298.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1)