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.001029/0.001029, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.16/1.16, allocations: 194.5 MB / 211.6 MB, free: 3.035 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.001527/0.001527, allocations: 115 kB / 256.9 MB, free: 4.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002631/0.0002631, allocations: 11.98 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07373/0.07401, allocations: 44.5 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1987/0.2727, allocations: 72.72 MB / 427.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001613/0.2729, allocations: 68.66 kB / 427.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01165/0.2846, allocations: 5.418 MB / 433.3 MB, free: 12.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2846, allocations: 0 / 433.3 MB, free: 12.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.2846, allocations: 11.98 kB / 433.3 MB, free: 12.34 MB / 314.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.0006341/0.2853, allocations: 0.612 MB / 433.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.2853, allocations: 8.031 kB / 433.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.537e-05/0.2854, allocations: 48.23 kB / 433.9 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.2856, allocations: 270.5 kB / 434.2 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.2856, allocations: 34.75 kB / 434.2 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.2857, allocations: 42.94 kB / 434.3 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/0.2862, allocations: 444.6 kB / 434.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.2862, allocations: 4 kB / 434.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.2862, allocations: 17.81 kB / 434.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/0.2863, allocations: 8 kB / 434.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003871/0.2867, allocations: 290.6 kB / 435 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.288, allocations: 1.324 MB / 436.4 MB, free: 9.645 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.2883, allocations: 242.8 kB / 436.6 MB, free: 9.473 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.2883, allocations: 7.953 kB / 436.6 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.2884, allocations: 41.92 kB / 436.6 MB, free: 9.418 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/0.2884, allocations: 0 / 436.6 MB, free: 9.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001072/0.2895, allocations: 0.5547 MB / 437.2 MB, free: 8.938 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.2895, allocations: 246.2 kB / 437.4 MB, free: 8.645 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.2896, allocations: 187.3 kB / 437.6 MB, free: 8.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.2897, allocations: 34.7 kB / 437.6 MB, free: 8.449 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.2897, allocations: 205.9 kB / 437.8 MB, free: 8.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.2898, allocations: 96.19 kB / 437.9 MB, free: 8.188 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.2898, allocations: 10.94 kB / 438 MB, free: 8.184 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.2899, allocations: 332.2 kB / 438.3 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.29, allocations: 79.16 kB / 438.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.2902, allocations: 162.4 kB / 438.5 MB, free: 7.656 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.2903, allocations: 103.9 kB / 438.6 MB, free: 7.598 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2903, allocations: 0 / 438.6 MB, free: 7.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003438/0.2907, allocations: 288.7 kB / 438.9 MB, free: 7.383 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.2907, allocations: 4 kB / 438.9 MB, free: 7.379 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2907, allocations: 4 kB / 438.9 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.2907, allocations: 0 / 438.9 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.291, allocations: 79.89 kB / 439 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.291, allocations: 4 kB / 439 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.2912, allocations: 34.36 kB / 439 MB, free: 7.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.2912, allocations: 12.69 kB / 439 MB, free: 7.258 MB / 314.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 9.848e-05/0.2913, allocations: 150.7 kB / 439.2 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.2914, allocations: 27.67 kB / 439.2 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.843e-05/0.2914, allocations: 36.52 kB / 439.2 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.2914, allocations: 4 kB / 439.2 MB, free: 7.074 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2914, allocations: 4 kB / 439.3 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2914, allocations: 0 / 439.3 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.2917, allocations: 395.9 kB / 439.6 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2917, allocations: 1.219 kB / 439.6 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.292, allocations: 59.28 kB / 439.7 MB, free: 6.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/0.2922, allocations: 93.8 kB / 439.8 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.2923, allocations: 3.812 kB / 439.8 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.2935, allocations: 1.855 MB / 441.6 MB, free: 4.895 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2935, allocations: 4.031 kB / 441.7 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000588/0.2941, allocations: 0.5131 MB / 442.2 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.2942, allocations: 104.8 kB / 442.3 MB, free: 4.359 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.2942, allocations: 7.75 kB / 442.3 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.2944, allocations: 7.75 kB / 442.3 MB, free: 4.352 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.2944, allocations: 28 kB / 442.3 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.2944, allocations: 11.81 kB / 442.3 MB, free: 4.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.822e-05/0.2945, allocations: 154.2 kB / 442.5 MB, free: 4.191 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2945, allocations: 0.5625 kB / 442.5 MB, free: 4.191 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003008/0.2948, allocations: 110.7 kB / 442.6 MB, free: 4.094 MB / 314.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.0001013/0.2949, allocations: 111.4 kB / 442.7 MB, free: 3.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003106/0.2953, allocations: 222.2 kB / 442.9 MB, free: 3.766 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2953, allocations: 0 / 442.9 MB, free: 3.766 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.2956, allocations: 278.5 kB / 443.2 MB, free: 3.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.2958, allocations: 16.66 kB / 443.2 MB, free: 3.465 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009124/0.2967, allocations: 1.051 MB / 444.2 MB, free: 2.398 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.2969, allocations: 0.795 MB / 445 MB, free: 1.578 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.603e-05/0.2969, allocations: 21.94 kB / 445.1 MB, free: 1.559 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.297, allocations: 19.44 kB / 445.1 MB, free: 1.539 MB / 314.7 MB Notification: Performance of SimCode: time 2.4e-07/0.297, allocations: 5.406 kB / 445.1 MB, free: 1.535 MB / 314.7 MB Notification: Performance of Templates: time 0.004725/0.3017, allocations: 2.632 MB / 447.7 MB, free: 14.96 MB / 330.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)