Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.0008493/0.0008493, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0008891/0.000889, allocations: 168.7 kB / 15.95 MB, free: 204 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.539/1.539, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0004229/0.000423, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.274, allocations: 47.6 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002959/0.277, allocations: 2.312 MB / 328.8 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.2783, allocations: 0.7202 MB / 329.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.2785, allocations: 7.062 kB / 329.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.2786, allocations: 45.52 kB / 329.6 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.2788, allocations: 73.41 kB / 329.6 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.2792, allocations: 93.7 kB / 329.7 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005624/0.2798, allocations: 398.3 kB / 330.1 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004091/0.2802, allocations: 161.4 kB / 330.3 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.2805, allocations: 137 kB / 330.4 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.2808, allocations: 168.6 kB / 330.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.2809, allocations: 23.28 kB / 330.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.369e-05/0.281, allocations: 23.34 kB / 330.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.528e-05/0.281, allocations: 64.77 kB / 330.7 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.2811, allocations: 93.27 kB / 330.8 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.2816, allocations: 386 kB / 331.1 MB, free: 13.85 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2816, allocations: 0 / 331.1 MB, free: 13.85 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2816, allocations: 0 / 331.1 MB, free: 13.85 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.2816, allocations: 1.344 kB / 331.1 MB, free: 13.85 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.001121/0.2827, allocations: 0.6229 MB / 331.8 MB, free: 13.31 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.2828, allocations: 9.094 kB / 331.8 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.2829, allocations: 51.09 kB / 331.8 MB, free: 13.28 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.2833, allocations: 274.7 kB / 332.1 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.2833, allocations: 34.59 kB / 332.1 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-05/0.2834, allocations: 42.7 kB / 332.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008456/0.2843, allocations: 452.4 kB / 332.6 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.2843, allocations: 0 / 332.6 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/0.2844, allocations: 20.58 kB / 332.6 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.2844, allocations: 10.38 kB / 332.6 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005866/0.285, allocations: 282.5 kB / 332.9 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.2872, allocations: 1.31 MB / 334.2 MB, free: 11.44 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005483/0.2877, allocations: 251.7 kB / 334.5 MB, free: 11.27 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/0.2881, allocations: 192.7 kB / 334.7 MB, free: 11.08 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.2882, allocations: 8 kB / 334.7 MB, free: 11.07 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.2882, allocations: 34.56 kB / 334.7 MB, free: 11.03 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.2882, allocations: 0 / 334.7 MB, free: 11.03 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.00143/0.2897, allocations: 0.547 MB / 335.2 MB, free: 10.46 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/0.2898, allocations: 239.3 kB / 335.5 MB, free: 10.17 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.2901, allocations: 210.8 kB / 335.7 MB, free: 9.953 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.2901, allocations: 37.64 kB / 335.7 MB, free: 9.91 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.2903, allocations: 199.9 kB / 335.9 MB, free: 9.707 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.654e-05/0.2904, allocations: 98.56 kB / 336 MB, free: 9.609 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.408e-05/0.2904, allocations: 4 kB / 336 MB, free: 9.605 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.2906, allocations: 334.8 kB / 336.3 MB, free: 9.27 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.2908, allocations: 75.97 kB / 336.4 MB, free: 9.195 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.291, allocations: 153.3 kB / 336.6 MB, free: 9.016 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.2913, allocations: 106 kB / 336.7 MB, free: 8.914 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2913, allocations: 0 / 336.7 MB, free: 8.914 MB / 270.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004642/0.2917, allocations: 269 kB / 336.9 MB, free: 8.645 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.2918, allocations: 11.95 kB / 336.9 MB, free: 8.633 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2918, allocations: 0 / 336.9 MB, free: 8.633 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.2918, allocations: 4.062 kB / 337 MB, free: 8.629 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.2921, allocations: 83.89 kB / 337 MB, free: 8.547 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.2921, allocations: 4.078 kB / 337 MB, free: 8.543 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.2923, allocations: 31.67 kB / 337.1 MB, free: 8.512 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.2924, allocations: 15.98 kB / 337.1 MB, free: 8.496 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.0002891/0.2927, allocations: 161.7 kB / 337.2 MB, free: 8.328 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.2927, allocations: 23.81 kB / 337.3 MB, free: 8.305 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.043e-05/0.2928, allocations: 34.59 kB / 337.3 MB, free: 8.27 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.2928, allocations: 4 kB / 337.3 MB, free: 8.266 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.2928, allocations: 0 / 337.3 MB, free: 8.266 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2928, allocations: 4 kB / 337.3 MB, free: 8.262 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.2939, allocations: 0.772 MB / 338.1 MB, free: 7.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.294, allocations: 4.031 kB / 338.1 MB, free: 7.426 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/0.2942, allocations: 51.91 kB / 338.1 MB, free: 7.375 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003202/0.2945, allocations: 92.73 kB / 338.2 MB, free: 7.281 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.2946, allocations: 8 kB / 338.2 MB, free: 7.273 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.2966, allocations: 1.824 MB / 340.1 MB, free: 5.316 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2966, allocations: 0 / 340.1 MB, free: 5.316 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007659/0.2974, allocations: 0.5171 MB / 340.6 MB, free: 4.777 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.2974, allocations: 100.8 kB / 340.7 MB, free: 4.66 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.2975, allocations: 8.062 kB / 340.7 MB, free: 4.652 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.2977, allocations: 19.98 kB / 340.7 MB, free: 4.633 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/0.2977, allocations: 19.97 kB / 340.7 MB, free: 4.613 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.2978, allocations: 12 kB / 340.7 MB, free: 4.602 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.2979, allocations: 148.4 kB / 340.9 MB, free: 4.457 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2979, allocations: 0 / 340.9 MB, free: 4.457 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004624/0.2984, allocations: 111.5 kB / 341 MB, free: 4.348 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.0002104/0.2986, allocations: 107.3 kB / 341.1 MB, free: 4.234 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004477/0.2991, allocations: 212.3 kB / 341.3 MB, free: 4.027 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2991, allocations: 0 / 341.3 MB, free: 4.027 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00045/0.2995, allocations: 278.4 kB / 341.6 MB, free: 3.742 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.2999, allocations: 32.08 kB / 341.6 MB, free: 3.711 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.3014, allocations: 1.05 MB / 342.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.3018, allocations: 0.787 MB / 343.4 MB, free: 1.82 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.302, allocations: 29.94 kB / 343.5 MB, free: 1.789 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.302, allocations: 23.44 kB / 343.5 MB, free: 1.766 MB / 270.1 MB Notification: Performance of SimCode: time 5.91e-07/0.302, allocations: 0 / 343.5 MB, free: 1.766 MB / 270.1 MB Notification: Performance of Templates: time 0.007058/0.3091, allocations: 2.596 MB / 346.1 MB, free: 15.17 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1)