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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001496/0.001496, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.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.0004392/0.0004392, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2635, allocations: 47.58 MB / 326.4 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002256/0.2658, allocations: 2.187 MB / 328.6 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2669, allocations: 0.7348 MB / 329.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.267, allocations: 6.031 kB / 329.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.011e-05/0.2671, allocations: 46.86 kB / 329.4 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.2673, allocations: 94.31 kB / 329.5 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.2676, allocations: 86.95 kB / 329.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003561/0.268, allocations: 293.5 kB / 329.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/0.2683, allocations: 165.1 kB / 330 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.2685, allocations: 131.9 kB / 330.2 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.2687, allocations: 169.4 kB / 330.3 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.753e-05/0.2688, allocations: 26.78 kB / 330.4 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.569e-05/0.2688, allocations: 23.81 kB / 330.4 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.2689, allocations: 71.59 kB / 330.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.536e-05/0.269, allocations: 94.64 kB / 330.5 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.2693, allocations: 368.8 kB / 330.9 MB, free: 14.03 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.2693, allocations: 0 / 330.9 MB, free: 14.03 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2693, allocations: 0 / 330.9 MB, free: 14.03 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2694, allocations: 0 / 330.9 MB, free: 14.03 MB / 270.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.0009934/0.2704, allocations: 0.6274 MB / 331.5 MB, free: 13.48 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2704, allocations: 9.812 kB / 331.5 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.2705, allocations: 45.41 kB / 331.6 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.2709, allocations: 271.5 kB / 331.9 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/0.2709, allocations: 38.53 kB / 331.9 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-05/0.271, allocations: 43.53 kB / 331.9 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000744/0.2717, allocations: 447.5 kB / 332.4 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.2718, allocations: 5.188 kB / 332.4 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/0.2718, allocations: 16.16 kB / 332.4 MB, free: 12.82 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.2719, allocations: 10.69 kB / 332.4 MB, free: 12.82 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005504/0.2724, allocations: 278.6 kB / 332.7 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.2745, allocations: 1.309 MB / 334 MB, free: 11.62 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00048/0.275, allocations: 249.5 kB / 334.2 MB, free: 11.49 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.275, allocations: 3.375 kB / 334.2 MB, free: 11.49 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.275, allocations: 46 kB / 334.3 MB, free: 11.44 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.322e-06/0.275, allocations: 0 / 334.3 MB, free: 11.44 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.00134/0.2764, allocations: 0.553 MB / 334.8 MB, free: 10.88 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.2765, allocations: 235.3 kB / 335.1 MB, free: 10.59 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.2767, allocations: 218.7 kB / 335.3 MB, free: 10.37 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.2768, allocations: 33.7 kB / 335.3 MB, free: 10.33 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.2769, allocations: 195.9 kB / 335.5 MB, free: 10.13 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.267e-05/0.277, allocations: 102.5 kB / 335.6 MB, free: 10.03 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.277, allocations: 4 kB / 335.6 MB, free: 10.03 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2771, allocations: 338.8 kB / 335.9 MB, free: 9.688 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.2773, allocations: 75.97 kB / 336 MB, free: 9.613 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.2775, allocations: 164.1 kB / 336.2 MB, free: 9.426 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.2777, allocations: 105 kB / 336.3 MB, free: 9.324 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2777, allocations: 4 kB / 336.3 MB, free: 9.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004187/0.2781, allocations: 281 kB / 336.5 MB, free: 9.039 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2782, allocations: 4 kB / 336.5 MB, free: 9.035 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.2782, allocations: 3.984 kB / 336.6 MB, free: 9.031 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.2782, allocations: 7.953 kB / 336.6 MB, free: 9.023 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.2785, allocations: 87.88 kB / 336.6 MB, free: 8.938 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2785, allocations: 0 / 336.6 MB, free: 8.938 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.2787, allocations: 35.72 kB / 336.7 MB, free: 8.902 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.2787, allocations: 8 kB / 336.7 MB, free: 8.895 MB / 270.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: 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.0002443/0.279, allocations: 153.8 kB / 336.8 MB, free: 8.734 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.279, allocations: 23.72 kB / 336.9 MB, free: 8.711 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.324e-05/0.2791, allocations: 34.66 kB / 336.9 MB, free: 8.676 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2791, allocations: 0 / 336.9 MB, free: 8.676 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.2791, allocations: 7.953 kB / 336.9 MB, free: 8.668 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.2791, allocations: 7.984 kB / 336.9 MB, free: 8.66 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.2795, allocations: 393.1 kB / 337.3 MB, free: 8.227 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2796, allocations: 0 / 337.3 MB, free: 8.227 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.2798, allocations: 59.83 kB / 337.4 MB, free: 8.168 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/0.2801, allocations: 84.81 kB / 337.4 MB, free: 8.082 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.2801, allocations: 4 kB / 337.4 MB, free: 8.078 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.282, allocations: 1.863 MB / 339.3 MB, free: 6.082 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.282, allocations: 8.016 kB / 339.3 MB, free: 6.074 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007432/0.2828, allocations: 0.5163 MB / 339.8 MB, free: 5.539 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.2828, allocations: 96.77 kB / 339.9 MB, free: 5.426 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.2829, allocations: 12.19 kB / 339.9 MB, free: 5.414 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.283, allocations: 23.94 kB / 340 MB, free: 5.391 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.2831, allocations: 19.97 kB / 340 MB, free: 5.371 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.2831, allocations: 8 kB / 340 MB, free: 5.363 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.2833, allocations: 152.4 kB / 340.1 MB, free: 5.215 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2833, allocations: 0 / 340.1 MB, free: 5.215 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000344/0.2836, allocations: 103.7 kB / 340.2 MB, free: 5.113 MB / 270.1 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.000122/0.2837, allocations: 115 kB / 340.3 MB, free: 4.992 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000391/0.2841, allocations: 220.2 kB / 340.6 MB, free: 4.777 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2841, allocations: 0 / 340.6 MB, free: 4.777 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.2846, allocations: 282.4 kB / 340.8 MB, free: 4.488 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.2848, allocations: 16 kB / 340.9 MB, free: 4.473 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.2861, allocations: 1.047 MB / 341.9 MB, free: 3.406 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.2864, allocations: 0.7989 MB / 342.7 MB, free: 2.578 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.144e-05/0.2865, allocations: 21.94 kB / 342.7 MB, free: 2.555 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.2866, allocations: 19.44 kB / 342.7 MB, free: 2.535 MB / 270.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2866, allocations: 4 kB / 342.7 MB, free: 2.531 MB / 270.1 MB Notification: Performance of Templates: time 0.005575/0.2922, allocations: 2.62 MB / 345.4 MB, free: 15.91 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: