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.005355/0.005356, allocations: 99.52 kB / 15.73 MB, free: 6.043 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.001262/0.001262, allocations: 201.8 kB / 16.68 MB, free: 5.961 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.329/1.329, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001168/0.001168, allocations: 50.28 kB / 326.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07858/0.07976, allocations: 46.62 MB / 373.2 MB, free: 1.457 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003289/0.08308, allocations: 2.778 MB / 375.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.08427, allocations: 0.7524 MB / 376.7 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.0844, allocations: 4 kB / 376.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.08454, allocations: 59.42 kB / 376.8 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.08471, allocations: 95.05 kB / 376.9 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.08506, allocations: 127.8 kB / 377 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003724/0.08544, allocations: 434.8 kB / 377.4 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003158/0.08577, allocations: 228.7 kB / 377.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.08596, allocations: 179.5 kB / 377.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.08619, allocations: 203.1 kB / 378 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.08625, allocations: 48 kB / 378 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.85e-05/0.08632, allocations: 44 kB / 378.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.08639, allocations: 99.62 kB / 378.2 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.08656, allocations: 211 kB / 378.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003932/0.08696, allocations: 0.4944 MB / 378.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.08697, allocations: 0 / 378.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.08698, allocations: 0 / 378.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.08699, allocations: 0 / 378.9 MB, free: 11.7 MB / 318.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.0009716/0.08797, allocations: 0.6787 MB / 379.6 MB, free: 10.97 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.08801, allocations: 11.97 kB / 379.6 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.413e-05/0.08809, allocations: 44.47 kB / 379.6 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.08836, allocations: 292.3 kB / 379.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.0884, allocations: 29.38 kB / 379.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.08847, allocations: 40.38 kB / 380 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006511/0.08913, allocations: 451.6 kB / 380.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.08915, allocations: 4 kB / 380.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.08919, allocations: 20 kB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.08921, allocations: 8 kB / 380.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.08967, allocations: 287.9 kB / 380.7 MB, free: 9.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.09132, allocations: 1.291 MB / 382 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.09171, allocations: 234.7 kB / 382.2 MB, free: 8.113 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.09207, allocations: 200.7 kB / 382.4 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.0921, allocations: 4 kB / 382.4 MB, free: 7.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.09213, allocations: 38.5 kB / 382.5 MB, free: 7.863 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.523e-06/0.09214, allocations: 0 / 382.5 MB, free: 7.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001286/0.09343, allocations: 0.5463 MB / 383 MB, free: 7.289 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.228e-05/0.09353, allocations: 235.3 kB / 383.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.09373, allocations: 210.9 kB / 383.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.09377, allocations: 33.7 kB / 383.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.09388, allocations: 196 kB / 383.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.551e-05/0.09395, allocations: 110.4 kB / 383.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.609e-05/0.09405, allocations: 57.7 kB / 383.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.09416, allocations: 334.8 kB / 384.2 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.09431, allocations: 75.83 kB / 384.3 MB, free: 5.973 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.09451, allocations: 156.7 kB / 384.4 MB, free: 5.789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008273/0.09534, allocations: 366.1 kB / 384.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.09536, allocations: 0 / 384.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004213/0.09578, allocations: 280.8 kB / 385 MB, free: 5.145 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.09581, allocations: 4 kB / 385 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.09582, allocations: 0 / 385 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.09585, allocations: 4 kB / 385 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.09617, allocations: 83.95 kB / 385.1 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.09619, allocations: 4 kB / 385.1 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.09637, allocations: 35.64 kB / 385.2 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.0964, allocations: 8 kB / 385.2 MB, free: 5.008 MB / 318.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.0002429/0.09665, allocations: 157.7 kB / 385.3 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.0967, allocations: 27.69 kB / 385.4 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.777e-05/0.09678, allocations: 34.64 kB / 385.4 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.0968, allocations: 8 kB / 385.4 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.09681, allocations: 4 kB / 385.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.09682, allocations: 0 / 385.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.09786, allocations: 0.7632 MB / 386.2 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.09788, allocations: 4 kB / 386.2 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.09812, allocations: 55.91 kB / 386.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002623/0.09839, allocations: 96.77 kB / 386.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.09842, allocations: 4 kB / 386.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.1001, allocations: 1.977 MB / 388.3 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1002, allocations: 0 / 388.3 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006812/0.1008, allocations: 0.5137 MB / 388.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.1009, allocations: 100.8 kB / 388.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.1009, allocations: 8.062 kB / 388.9 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.1011, allocations: 11.98 kB / 388.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.1012, allocations: 23.97 kB / 389 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.1012, allocations: 4 kB / 389 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.1013, allocations: 164.3 kB / 389.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1013, allocations: 0 / 389.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.1017, allocations: 107.6 kB / 389.2 MB, free: 0.7031 MB / 318.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.0001221/0.1018, allocations: 103.2 kB / 389.3 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003647/0.1022, allocations: 203.8 kB / 389.5 MB, free: 404 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1022, allocations: 0 / 389.5 MB, free: 404 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.1026, allocations: 286.5 kB / 389.8 MB, free: 104 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.1029, allocations: 20 kB / 389.8 MB, free: 84 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.104, allocations: 0.8424 MB / 390.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.1043, allocations: 0.787 MB / 391.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.317e-05/0.1044, allocations: 29.94 kB / 391.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.1045, allocations: 19.44 kB / 391.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1045, allocations: 3.938 kB / 391.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of Templates: time 0.006216/0.1107, allocations: 3.012 MB / 394.5 MB, free: 11.32 MB / 334.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)