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.001093/0.001093, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001136/0.001136, allocations: 195.8 kB / 16.25 MB, free: 6.617 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.339/1.339, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001639/0.001639, allocations: 47.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2403, allocations: 46.62 MB / 324.8 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.005231/0.2456, allocations: 2.82 MB / 327.7 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.2478, allocations: 0.744 MB / 328.4 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005024/0.2483, allocations: 6.875 kB / 328.4 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.2487, allocations: 41.45 kB / 328.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005846/0.2493, allocations: 73.62 kB / 328.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006392/0.25, allocations: 110.6 kB / 328.6 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008505/0.2508, allocations: 440.6 kB / 329.1 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005351/0.2514, allocations: 211.1 kB / 329.3 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004544/0.2519, allocations: 178.5 kB / 329.4 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004485/0.2523, allocations: 205.5 kB / 329.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.2525, allocations: 45.38 kB / 329.7 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.2526, allocations: 45.91 kB / 329.7 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.2527, allocations: 96.2 kB / 329.8 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.2531, allocations: 216.5 kB / 330 MB, free: 14 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006129/0.2537, allocations: 493.2 kB / 330.5 MB, free: 13.62 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.2537, allocations: 4 kB / 330.5 MB, free: 13.62 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2537, allocations: 1.094 kB / 330.5 MB, free: 13.62 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.115e-05/0.2537, allocations: 0 / 330.5 MB, free: 13.62 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.00136/0.2551, allocations: 0.689 MB / 331.2 MB, free: 13.02 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.2552, allocations: 9.25 kB / 331.2 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.2553, allocations: 47.34 kB / 331.3 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.2557, allocations: 281.2 kB / 331.5 MB, free: 12.71 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.2557, allocations: 33.88 kB / 331.6 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.522e-05/0.2558, allocations: 39.44 kB / 331.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008064/0.2566, allocations: 453.3 kB / 332.1 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.2566, allocations: 5.125 kB / 332.1 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/0.2567, allocations: 15.97 kB / 332.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.2567, allocations: 10.66 kB / 332.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/0.2572, allocations: 278.7 kB / 332.4 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.2591, allocations: 1.317 MB / 333.7 MB, free: 11.05 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.2596, allocations: 254.6 kB / 333.9 MB, free: 10.79 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.2599, allocations: 192.8 kB / 334.1 MB, free: 10.6 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.26, allocations: 4 kB / 334.1 MB, free: 10.59 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.26, allocations: 38.56 kB / 334.2 MB, free: 10.55 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/0.26, allocations: 0 / 334.2 MB, free: 10.55 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.00133/0.2613, allocations: 0.543 MB / 334.7 MB, free: 9.977 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.2614, allocations: 235.3 kB / 334.9 MB, free: 9.691 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.2616, allocations: 214.8 kB / 335.1 MB, free: 9.469 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.2617, allocations: 33.7 kB / 335.2 MB, free: 9.43 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.2618, allocations: 195.9 kB / 335.4 MB, free: 9.234 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.496e-05/0.2619, allocations: 110.4 kB / 335.5 MB, free: 9.125 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.088e-05/0.262, allocations: 57.7 kB / 335.5 MB, free: 9.062 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2621, allocations: 330.8 kB / 335.8 MB, free: 8.73 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.2623, allocations: 75.97 kB / 335.9 MB, free: 8.656 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.2625, allocations: 165 kB / 336.1 MB, free: 8.465 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000838/0.2634, allocations: 362.7 kB / 336.4 MB, free: 8.105 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2634, allocations: 0 / 336.4 MB, free: 8.105 MB / 270.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004373/0.2638, allocations: 276.9 kB / 336.7 MB, free: 7.828 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2638, allocations: 11.94 kB / 336.7 MB, free: 7.816 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2639, allocations: 0 / 336.7 MB, free: 7.816 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2639, allocations: 0 / 336.7 MB, free: 7.816 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.2642, allocations: 83.89 kB / 336.8 MB, free: 7.734 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.2642, allocations: 8.062 kB / 336.8 MB, free: 7.727 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.2644, allocations: 31.67 kB / 336.8 MB, free: 7.695 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.2645, allocations: 12 kB / 336.9 MB, free: 7.684 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002732/0.2647, allocations: 157.7 kB / 337 MB, free: 7.52 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.2648, allocations: 27.66 kB / 337 MB, free: 7.492 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.974e-05/0.2649, allocations: 30.64 kB / 337.1 MB, free: 7.461 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2649, allocations: 8 kB / 337.1 MB, free: 7.453 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.2649, allocations: 0 / 337.1 MB, free: 7.453 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2649, allocations: 3.938 kB / 337.1 MB, free: 7.449 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.266, allocations: 0.7633 MB / 337.8 MB, free: 6.625 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.266, allocations: 4 kB / 337.8 MB, free: 6.621 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.2662, allocations: 43.97 kB / 337.9 MB, free: 6.578 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/0.2665, allocations: 96.77 kB / 338 MB, free: 6.48 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.2665, allocations: 8 kB / 338 MB, free: 6.473 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/0.2685, allocations: 1.988 MB / 340 MB, free: 4.348 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2685, allocations: 0 / 340 MB, free: 4.348 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007336/0.2692, allocations: 0.5092 MB / 340.5 MB, free: 3.816 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/0.2693, allocations: 104.7 kB / 340.6 MB, free: 3.695 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.2694, allocations: 12.06 kB / 340.6 MB, free: 3.684 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.2695, allocations: 12 kB / 340.6 MB, free: 3.672 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.2696, allocations: 19.95 kB / 340.6 MB, free: 3.652 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.2696, allocations: 16 kB / 340.6 MB, free: 3.637 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.2698, allocations: 148.5 kB / 340.8 MB, free: 3.492 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.283e-06/0.2698, allocations: 0 / 340.8 MB, free: 3.492 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004324/0.2702, allocations: 111.6 kB / 340.9 MB, free: 3.383 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001217/0.2703, allocations: 103.5 kB / 341 MB, free: 3.27 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004354/0.2708, allocations: 211.7 kB / 341.2 MB, free: 3.062 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2708, allocations: 4.125 kB / 341.2 MB, free: 3.059 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.2712, allocations: 278.4 kB / 341.5 MB, free: 2.773 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.2716, allocations: 24 kB / 341.5 MB, free: 2.75 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.273, allocations: 0.9942 MB / 342.5 MB, free: 1.727 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.2734, allocations: 0.7909 MB / 343.3 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.913e-05/0.2735, allocations: 17.95 kB / 343.3 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.2735, allocations: 19.44 kB / 343.3 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2735, allocations: 0 / 343.3 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of Templates: time 0.006941/0.2805, allocations: 2.878 MB / 346.2 MB, free: 13.99 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)