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.001242/0.001242, allocations: 96.92 kB / 16.3 MB, free: 5.992 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.001297/0.001297, allocations: 184 kB / 17.2 MB, free: 5.914 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.494/1.494, allocations: 205.4 MB / 223.4 MB, free: 5.535 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.0004901/0.0004902, allocations: 12 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2716, allocations: 47.58 MB / 327.7 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002166/0.2739, allocations: 2.188 MB / 329.9 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.2749, allocations: 0.7384 MB / 330.6 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.275, allocations: 5.719 kB / 330.6 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.742e-05/0.2751, allocations: 42.42 kB / 330.7 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.2753, allocations: 95.64 kB / 330.8 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.2755, allocations: 93.09 kB / 330.9 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003453/0.2759, allocations: 289.5 kB / 331.1 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003131/0.2762, allocations: 166.1 kB / 331.3 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.2765, allocations: 140.4 kB / 331.4 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.2767, allocations: 160 kB / 331.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.061e-05/0.2768, allocations: 23.88 kB / 331.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-05/0.2768, allocations: 23.34 kB / 331.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.211e-05/0.2769, allocations: 72.45 kB / 331.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.792e-05/0.277, allocations: 97.42 kB / 331.8 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.2773, allocations: 369.2 kB / 332.2 MB, free: 14.04 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2774, allocations: 4 kB / 332.2 MB, free: 14.03 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2774, allocations: 0 / 332.2 MB, free: 14.03 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.2774, allocations: 0 / 332.2 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.0009903/0.2784, allocations: 0.6196 MB / 332.8 MB, free: 13.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2784, allocations: 9.719 kB / 332.8 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.435e-05/0.2785, allocations: 49.36 kB / 332.8 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.2789, allocations: 281 kB / 333.1 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.2789, allocations: 29.31 kB / 333.1 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-05/0.279, allocations: 47.27 kB / 333.2 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007046/0.2797, allocations: 444 kB / 333.6 MB, free: 12.85 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.2797, allocations: 1.594 kB / 333.6 MB, free: 12.85 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/0.2798, allocations: 19.47 kB / 333.6 MB, free: 12.83 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.2798, allocations: 10.12 kB / 333.7 MB, free: 12.83 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005373/0.2803, allocations: 286.5 kB / 333.9 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.2821, allocations: 1.302 MB / 335.2 MB, free: 11.63 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/0.2826, allocations: 249.3 kB / 335.5 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.2827, allocations: 6.688 kB / 335.5 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.2827, allocations: 40.31 kB / 335.5 MB, free: 11.45 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/0.2827, allocations: 0 / 335.5 MB, free: 11.45 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.001359/0.2841, allocations: 0.5549 MB / 336.1 MB, free: 10.87 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.2842, allocations: 235.3 kB / 336.3 MB, free: 10.58 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.2844, allocations: 210.7 kB / 336.5 MB, free: 10.37 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.2845, allocations: 33.7 kB / 336.6 MB, free: 10.33 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.2846, allocations: 203.9 kB / 336.7 MB, free: 10.12 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.2846, allocations: 102.5 kB / 336.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.2847, allocations: 8 kB / 336.9 MB, free: 10.01 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2848, allocations: 330.8 kB / 337.2 MB, free: 9.68 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.285, allocations: 83.91 kB / 337.3 MB, free: 9.598 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.2852, allocations: 156.2 kB / 337.4 MB, free: 9.418 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.2854, allocations: 101 kB / 337.5 MB, free: 9.32 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2854, allocations: 4 kB / 337.5 MB, free: 9.316 MB / 270.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000436/0.2858, allocations: 281 kB / 337.8 MB, free: 9.035 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.2859, allocations: 4 kB / 337.8 MB, free: 9.031 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2859, allocations: 4.031 kB / 337.8 MB, free: 9.027 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.2859, allocations: 7.953 kB / 337.8 MB, free: 9.02 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.2862, allocations: 83.89 kB / 337.9 MB, free: 8.938 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.2863, allocations: 0 / 337.9 MB, free: 8.938 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.2864, allocations: 35.67 kB / 337.9 MB, free: 8.902 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.2865, allocations: 12 kB / 337.9 MB, free: 8.891 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.0002554/0.2867, allocations: 153.8 kB / 338.1 MB, free: 8.73 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.2868, allocations: 23.72 kB / 338.1 MB, free: 8.707 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.284e-05/0.2869, allocations: 42.62 kB / 338.2 MB, free: 8.664 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2869, allocations: 0 / 338.2 MB, free: 8.664 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.2869, allocations: 7.953 kB / 338.2 MB, free: 8.656 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2869, allocations: 0 / 338.2 MB, free: 8.656 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.2874, allocations: 397.1 kB / 338.5 MB, free: 8.219 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2874, allocations: 3.938 kB / 338.6 MB, free: 8.215 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.2876, allocations: 51.91 kB / 338.6 MB, free: 8.164 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003336/0.288, allocations: 96.8 kB / 338.7 MB, free: 8.066 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.288, allocations: 4 kB / 338.7 MB, free: 8.062 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/0.29, allocations: 1.863 MB / 340.6 MB, free: 6.066 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.29, allocations: 3.953 kB / 340.6 MB, free: 6.062 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007232/0.2908, allocations: 0.5124 MB / 341.1 MB, free: 5.531 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.2908, allocations: 104.8 kB / 341.2 MB, free: 5.41 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.2909, allocations: 8 kB / 341.2 MB, free: 5.402 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.291, allocations: 15.95 kB / 341.2 MB, free: 5.387 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.2911, allocations: 19.95 kB / 341.2 MB, free: 5.367 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.2911, allocations: 12 kB / 341.2 MB, free: 5.355 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.2912, allocations: 152.4 kB / 341.4 MB, free: 5.207 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2912, allocations: 0 / 341.4 MB, free: 5.207 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003719/0.2916, allocations: 103.7 kB / 341.5 MB, free: 5.105 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.0001394/0.2918, allocations: 107.1 kB / 341.6 MB, free: 4.992 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004051/0.2922, allocations: 216.2 kB / 341.8 MB, free: 4.781 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.2922, allocations: 4.062 kB / 341.8 MB, free: 4.777 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004052/0.2926, allocations: 286.4 kB / 342.1 MB, free: 4.484 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.2928, allocations: 24.05 kB / 342.1 MB, free: 4.461 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.2942, allocations: 1.047 MB / 343.2 MB, free: 3.395 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.2946, allocations: 0.795 MB / 344 MB, free: 2.57 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.229e-05/0.2947, allocations: 25.94 kB / 344 MB, free: 2.543 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.47e-05/0.2948, allocations: 19.44 kB / 344 MB, free: 2.523 MB / 270.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2948, allocations: 0 / 344 MB, free: 2.523 MB / 270.1 MB Notification: Performance of Templates: time 0.005654/0.3005, allocations: 2.628 MB / 346.6 MB, free: 15.89 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: