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.001276/0.001276, allocations: 99.55 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.001465/0.001465, allocations: 177.3 kB / 15.94 MB, free: 228 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.48/1.48, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.0004683/0.0004685, allocations: 8 kB / 278.9 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2779, allocations: 47.59 MB / 326.4 MB, free: 1.465 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002369/0.2803, allocations: 2.184 MB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.2816, allocations: 0.7303 MB / 329.4 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.2818, allocations: 5.875 kB / 329.4 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.554e-05/0.2819, allocations: 47.23 kB / 329.4 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.2821, allocations: 99.08 kB / 329.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.2825, allocations: 89.7 kB / 329.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.2828, allocations: 288.4 kB / 329.9 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.2831, allocations: 166.5 kB / 330 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.2834, allocations: 140 kB / 330.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.2836, allocations: 161.1 kB / 330.3 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.607e-05/0.2837, allocations: 30.66 kB / 330.4 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-05/0.2838, allocations: 24.28 kB / 330.4 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.2838, allocations: 71.83 kB / 330.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.2839, allocations: 94.02 kB / 330.5 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.2843, allocations: 372.8 kB / 330.9 MB, free: 14.07 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2843, allocations: 0 / 330.9 MB, free: 14.07 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2843, allocations: 0 / 330.9 MB, free: 14.07 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2844, allocations: 0 / 330.9 MB, free: 14.07 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.001115/0.2855, allocations: 0.6202 MB / 331.5 MB, free: 13.53 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.2855, allocations: 8.531 kB / 331.5 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.2857, allocations: 45.81 kB / 331.6 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.286, allocations: 280.2 kB / 331.9 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.2861, allocations: 38.25 kB / 331.9 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/0.2862, allocations: 39.06 kB / 331.9 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007723/0.287, allocations: 444.3 kB / 332.4 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.287, allocations: 4 kB / 332.4 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-05/0.2871, allocations: 17.5 kB / 332.4 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.2871, allocations: 9.75 kB / 332.4 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005711/0.2877, allocations: 277.9 kB / 332.7 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.2896, allocations: 1.318 MB / 334 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000437/0.2901, allocations: 242.3 kB / 334.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.2901, allocations: 4 kB / 334.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.2901, allocations: 42.5 kB / 334.3 MB, free: 11.45 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.864e-06/0.2901, allocations: 0 / 334.3 MB, free: 11.45 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.001387/0.2915, allocations: 0.551 MB / 334.8 MB, free: 10.87 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.2917, allocations: 239.3 kB / 335 MB, free: 10.58 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.2919, allocations: 210.7 kB / 335.3 MB, free: 10.36 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.2919, allocations: 37.7 kB / 335.3 MB, free: 10.32 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.2921, allocations: 203.9 kB / 335.5 MB, free: 10.11 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.617e-05/0.2922, allocations: 94.56 kB / 335.6 MB, free: 10.02 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.2922, allocations: 4 kB / 335.6 MB, free: 10.02 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2923, allocations: 334.8 kB / 335.9 MB, free: 9.68 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.2925, allocations: 83.89 kB / 336 MB, free: 9.598 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.2927, allocations: 156.2 kB / 336.1 MB, free: 9.418 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.2929, allocations: 105 kB / 336.3 MB, free: 9.316 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2929, allocations: 0 / 336.3 MB, free: 9.316 MB / 270.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004309/0.2933, allocations: 285 kB / 336.5 MB, free: 9.031 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2934, allocations: 7.938 kB / 336.5 MB, free: 9.023 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2934, allocations: 0 / 336.5 MB, free: 9.023 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2934, allocations: 7.953 kB / 336.5 MB, free: 9.016 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.2937, allocations: 87.88 kB / 336.6 MB, free: 8.93 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2938, allocations: 0 / 336.6 MB, free: 8.93 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.294, allocations: 31.69 kB / 336.7 MB, free: 8.898 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.294, allocations: 16.03 kB / 336.7 MB, free: 8.883 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.000258/0.2943, allocations: 157.7 kB / 336.8 MB, free: 8.719 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.2943, allocations: 23.72 kB / 336.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.406e-05/0.2944, allocations: 30.66 kB / 336.9 MB, free: 8.664 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2944, allocations: 4 kB / 336.9 MB, free: 8.66 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.2944, allocations: 7.953 kB / 336.9 MB, free: 8.652 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.2944, allocations: 3.984 kB / 336.9 MB, free: 8.648 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.2949, allocations: 401.1 kB / 337.3 MB, free: 8.207 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2949, allocations: 0 / 337.3 MB, free: 8.207 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.2951, allocations: 59.83 kB / 337.4 MB, free: 8.148 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003227/0.2955, allocations: 84.81 kB / 337.4 MB, free: 8.062 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.2955, allocations: 8 kB / 337.4 MB, free: 8.055 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.2973, allocations: 1.859 MB / 339.3 MB, free: 6.062 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2973, allocations: 4.031 kB / 339.3 MB, free: 6.059 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007436/0.2981, allocations: 0.5202 MB / 339.8 MB, free: 5.52 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.2982, allocations: 96.77 kB / 339.9 MB, free: 5.406 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.2982, allocations: 8.062 kB / 339.9 MB, free: 5.398 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.2984, allocations: 23.94 kB / 339.9 MB, free: 5.375 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.2984, allocations: 19.97 kB / 340 MB, free: 5.355 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.2985, allocations: 12 kB / 340 MB, free: 5.344 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.2986, allocations: 148.4 kB / 340.1 MB, free: 5.199 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2986, allocations: 0 / 340.1 MB, free: 5.199 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003982/0.299, allocations: 103.7 kB / 340.2 MB, free: 5.098 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.0001291/0.2991, allocations: 111.1 kB / 340.3 MB, free: 4.98 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003952/0.2995, allocations: 220.2 kB / 340.6 MB, free: 4.766 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2995, allocations: 0 / 340.6 MB, free: 4.766 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004333/0.3, allocations: 282.4 kB / 340.8 MB, free: 4.477 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.3002, allocations: 16.64 kB / 340.8 MB, free: 4.461 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.3015, allocations: 1.051 MB / 341.9 MB, free: 3.391 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.3019, allocations: 0.7989 MB / 342.7 MB, free: 2.562 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.394e-05/0.302, allocations: 21.94 kB / 342.7 MB, free: 2.539 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.302, allocations: 23.44 kB / 342.7 MB, free: 2.516 MB / 270.1 MB Notification: Performance of SimCode: time 3.11e-07/0.302, allocations: 0 / 342.7 MB, free: 2.516 MB / 270.1 MB Notification: Performance of Templates: time 0.01142/0.3135, allocations: 2.628 MB / 345.4 MB, free: 15.89 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: