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.0008775/0.0008778, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008812/0.0008812, allocations: 172.7 kB / 15.95 MB, free: 208 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.564/1.564, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.000452/0.000452, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2781, allocations: 47.58 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002477/0.2806, allocations: 2.311 MB / 328.8 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2818, allocations: 0.7238 MB / 329.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.282, allocations: 6.5 kB / 329.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.251e-05/0.2821, allocations: 42.23 kB / 329.5 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.2823, allocations: 79.2 kB / 329.6 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.2826, allocations: 92.44 kB / 329.7 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004348/0.2831, allocations: 401.1 kB / 330.1 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.2834, allocations: 158.4 kB / 330.3 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.2836, allocations: 140.8 kB / 330.4 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.2839, allocations: 161.3 kB / 330.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.2839, allocations: 26.95 kB / 330.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.579e-05/0.284, allocations: 22.97 kB / 330.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.203e-05/0.2841, allocations: 68.52 kB / 330.7 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.387e-05/0.2842, allocations: 101.5 kB / 330.8 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.2846, allocations: 377.8 kB / 331.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2846, allocations: 4 kB / 331.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.2846, allocations: 1.062 kB / 331.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.2846, allocations: 0 / 331.1 MB, free: 13.84 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.001023/0.2856, allocations: 0.6164 MB / 331.8 MB, free: 13.31 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2857, allocations: 9.344 kB / 331.8 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.673e-05/0.2858, allocations: 49 kB / 331.8 MB, free: 13.28 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.2861, allocations: 276.1 kB / 332.1 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.2861, allocations: 34.14 kB / 332.1 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.678e-05/0.2862, allocations: 43.75 kB / 332.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007262/0.2869, allocations: 447.4 kB / 332.6 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.2869, allocations: 3.984 kB / 332.6 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.391e-05/0.287, allocations: 25.19 kB / 332.6 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.287, allocations: 9.781 kB / 332.6 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005146/0.2875, allocations: 287.2 kB / 332.9 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.2894, allocations: 1.305 MB / 334.2 MB, free: 11.44 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004624/0.2899, allocations: 251.2 kB / 334.5 MB, free: 11.28 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.2903, allocations: 188.8 kB / 334.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.2903, allocations: 4 kB / 334.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.2903, allocations: 42.56 kB / 334.7 MB, free: 11.04 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.733e-06/0.2904, allocations: 0 / 334.7 MB, free: 11.04 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.001363/0.2917, allocations: 0.5431 MB / 335.2 MB, free: 10.47 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.2918, allocations: 247.3 kB / 335.5 MB, free: 10.17 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.2921, allocations: 206.8 kB / 335.7 MB, free: 9.961 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.2921, allocations: 29.7 kB / 335.7 MB, free: 9.926 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.2922, allocations: 199.9 kB / 335.9 MB, free: 9.723 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.09e-05/0.2923, allocations: 98.55 kB / 336 MB, free: 9.625 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.2923, allocations: 4 kB / 336 MB, free: 9.621 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2925, allocations: 338.8 kB / 336.3 MB, free: 9.281 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.2926, allocations: 75.97 kB / 336.4 MB, free: 9.207 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.2929, allocations: 157.2 kB / 336.6 MB, free: 9.023 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.2931, allocations: 98.02 kB / 336.7 MB, free: 8.93 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2931, allocations: 0 / 336.7 MB, free: 8.93 MB / 270.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004545/0.2935, allocations: 273 kB / 336.9 MB, free: 8.656 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.2936, allocations: 11.95 kB / 336.9 MB, free: 8.645 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.2936, allocations: 0 / 336.9 MB, free: 8.645 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2936, allocations: 7.938 kB / 336.9 MB, free: 8.637 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.2939, allocations: 87.89 kB / 337 MB, free: 8.551 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.294, allocations: 7.938 kB / 337 MB, free: 8.543 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.2941, allocations: 35.67 kB / 337.1 MB, free: 8.508 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.2942, allocations: 8 kB / 337.1 MB, free: 8.5 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002494/0.2944, allocations: 157.6 kB / 337.2 MB, free: 8.336 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.2945, allocations: 23.81 kB / 337.3 MB, free: 8.312 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.305e-05/0.2946, allocations: 38.59 kB / 337.3 MB, free: 8.273 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.2946, allocations: 4 kB / 337.3 MB, free: 8.27 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.2946, allocations: 4 kB / 337.3 MB, free: 8.266 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.2946, allocations: 0 / 337.3 MB, free: 8.266 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.2957, allocations: 0.7681 MB / 338.1 MB, free: 7.438 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2957, allocations: 4.031 kB / 338.1 MB, free: 7.434 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.2959, allocations: 51.97 kB / 338.1 MB, free: 7.383 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003355/0.2963, allocations: 84.8 kB / 338.2 MB, free: 7.297 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.2963, allocations: 8 kB / 338.2 MB, free: 7.289 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.2981, allocations: 1.831 MB / 340.1 MB, free: 5.324 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2981, allocations: 0 / 340.1 MB, free: 5.324 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/0.2988, allocations: 0.5133 MB / 340.6 MB, free: 4.789 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.2989, allocations: 100.8 kB / 340.7 MB, free: 4.672 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.299, allocations: 12.05 kB / 340.7 MB, free: 4.66 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.2991, allocations: 19.92 kB / 340.7 MB, free: 4.641 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.2992, allocations: 27.97 kB / 340.7 MB, free: 4.613 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.2992, allocations: 4 kB / 340.7 MB, free: 4.609 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.2994, allocations: 148.4 kB / 340.9 MB, free: 4.465 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2994, allocations: 0 / 340.9 MB, free: 4.465 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004284/0.2998, allocations: 115.5 kB / 341 MB, free: 4.352 MB / 270.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 (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.0001399/0.3, allocations: 103.2 kB / 341.1 MB, free: 4.242 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004141/0.3004, allocations: 216.2 kB / 341.3 MB, free: 4.031 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3004, allocations: 0 / 341.3 MB, free: 4.031 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004302/0.3008, allocations: 274.5 kB / 341.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.3012, allocations: 28.03 kB / 341.6 MB, free: 3.723 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.3025, allocations: 1.051 MB / 342.6 MB, free: 2.648 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.3029, allocations: 0.787 MB / 343.4 MB, free: 1.832 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.728e-05/0.303, allocations: 21.94 kB / 343.5 MB, free: 1.809 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.3031, allocations: 27.38 kB / 343.5 MB, free: 1.781 MB / 270.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3031, allocations: 0 / 343.5 MB, free: 1.781 MB / 270.1 MB Notification: Performance of Templates: time 0.005851/0.3089, allocations: 2.601 MB / 346.1 MB, free: 15.18 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (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)