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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.001111, allocations: 113.9 kB / 17.06 MB, free: 6 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.001054/0.001054, allocations: 200 kB / 18 MB, free: 5.078 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.414/1.414, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001137/0.001137, allocations: 51.92 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08319/0.08434, allocations: 46.62 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.00342/0.08779, allocations: 2.773 MB / 377.3 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.08893, allocations: 0.7524 MB / 378 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.08907, allocations: 8 kB / 378 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.08921, allocations: 63.36 kB / 378.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.08939, allocations: 91.12 kB / 378.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.08974, allocations: 123.8 kB / 378.3 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.09013, allocations: 430.8 kB / 378.7 MB, free: 324 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/0.09045, allocations: 232.8 kB / 378.9 MB, free: 84 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1656/0.256, allocations: 171.8 kB / 379.1 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.2564, allocations: 201.7 kB / 379.3 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.465e-05/0.2565, allocations: 49.34 kB / 379.3 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.337e-05/0.2565, allocations: 44.66 kB / 379.4 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.732e-05/0.2566, allocations: 98.55 kB / 379.5 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.2568, allocations: 213 kB / 379.7 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.2574, allocations: 0.4933 MB / 380.2 MB, free: 9.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2574, allocations: 1 kB / 380.2 MB, free: 9.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2574, allocations: 0.6094 kB / 380.2 MB, free: 9.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.365e-06/0.2574, allocations: 1.375 kB / 380.2 MB, free: 9.805 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0009812/0.2584, allocations: 0.6849 MB / 380.9 MB, free: 9.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2584, allocations: 12.16 kB / 380.9 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.087e-05/0.2585, allocations: 43.09 kB / 380.9 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.2588, allocations: 283.5 kB / 381.2 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.2588, allocations: 34.88 kB / 381.2 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.2589, allocations: 39.12 kB / 381.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006788/0.2596, allocations: 449.9 kB / 381.7 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.2596, allocations: 8.438 kB / 381.7 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.2596, allocations: 17.25 kB / 381.7 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.2597, allocations: 10.22 kB / 381.8 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005847/0.2603, allocations: 285 kB / 382 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.2619, allocations: 1.29 MB / 383.3 MB, free: 8.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.2623, allocations: 240.1 kB / 383.6 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/0.2627, allocations: 197.9 kB / 383.7 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.2627, allocations: 2.969 kB / 383.8 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.2627, allocations: 37.83 kB / 383.8 MB, free: 8.324 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.2628, allocations: 0 / 383.8 MB, free: 8.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001293/0.264, allocations: 0.542 MB / 384.3 MB, free: 8.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.2641, allocations: 240 kB / 384.6 MB, free: 7.785 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.2643, allocations: 213.7 kB / 384.8 MB, free: 7.645 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.2643, allocations: 31.73 kB / 384.8 MB, free: 7.609 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.363e-05/0.2644, allocations: 204.4 kB / 385 MB, free: 7.445 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.2645, allocations: 99.75 kB / 385.1 MB, free: 7.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.317e-05/0.2646, allocations: 58.25 kB / 385.2 MB, free: 7.332 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.2647, allocations: 336.4 kB / 385.5 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.2648, allocations: 79.31 kB / 385.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.265, allocations: 159.2 kB / 385.7 MB, free: 6.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000813/0.2658, allocations: 366.2 kB / 386.1 MB, free: 6.719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2658, allocations: 0 / 386.1 MB, free: 6.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004177/0.2662, allocations: 278.4 kB / 386.3 MB, free: 6.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2663, allocations: 5.75 kB / 386.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2663, allocations: 1.188 kB / 386.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2663, allocations: 2.469 kB / 386.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.2666, allocations: 81.67 kB / 386.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2667, allocations: 2.984 kB / 386.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.2668, allocations: 41.72 kB / 386.5 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.2669, allocations: 15.84 kB / 386.5 MB, free: 6.559 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" type: Real C1.vinternal:VARIABLE(unit = "V" fixed = true protected = true ) "Capacitor voltage" type: Real 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002258/0.2671, allocations: 156.4 kB / 386.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.2672, allocations: 24.12 kB / 386.7 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.367e-05/0.2672, allocations: 28.95 kB / 386.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2672, allocations: 2.969 kB / 386.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.2672, allocations: 7.734 kB / 386.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2673, allocations: 1.547 kB / 386.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009965/0.2683, allocations: 0.7697 MB / 387.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2683, allocations: 0 / 387.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.2685, allocations: 52.16 kB / 387.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002857/0.2688, allocations: 94.64 kB / 387.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.2689, allocations: 7.438 kB / 387.6 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/0.2709, allocations: 1.969 MB / 389.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2709, allocations: 7.375 kB / 389.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007043/0.2716, allocations: 0.5095 MB / 390.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.2716, allocations: 102.3 kB / 390.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.2717, allocations: 7.281 kB / 390.2 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.2719, allocations: 13.52 kB / 390.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.2719, allocations: 20.17 kB / 390.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.2719, allocations: 9.766 kB / 390.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.2721, allocations: 151.3 kB / 390.4 MB, free: 3.641 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2721, allocations: 4 kB / 390.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004091/0.2725, allocations: 116.9 kB / 390.5 MB, free: 3.598 MB / 318.1 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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001081/0.2726, allocations: 104.8 kB / 390.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003947/0.273, allocations: 207.2 kB / 390.8 MB, free: 3.449 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.273, allocations: 1.375 kB / 390.8 MB, free: 3.449 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.2734, allocations: 283.2 kB / 391.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.2737, allocations: 22.64 kB / 391.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.2751, allocations: 0.8383 MB / 392 MB, free: 2.707 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.2755, allocations: 0.7839 MB / 392.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.2756, allocations: 28.67 kB / 392.8 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.2756, allocations: 22.06 kB / 392.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2757, allocations: 0 / 392.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of Templates: time 0.007233/0.2829, allocations: 2.952 MB / 395.8 MB, free: 1.77 MB / 318.1 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)