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.0009079/0.0009078, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.005603/0.005603, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.357/1.357, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.0004549/0.000455, allocations: 15.98 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2117, allocations: 47.59 MB / 327 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.002171/0.2139, allocations: 2.438 MB / 329.5 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.215, allocations: 0.7347 MB / 330.2 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.2151, allocations: 6.344 kB / 330.2 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.01e-05/0.2152, allocations: 46.05 kB / 330.3 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.2154, allocations: 78.34 kB / 330.3 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.2157, allocations: 101.5 kB / 330.4 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003856/0.2161, allocations: 419.4 kB / 330.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003081/0.2164, allocations: 187.3 kB / 331 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.2166, allocations: 140.3 kB / 331.2 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.2168, allocations: 168 kB / 331.3 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.804e-05/0.2169, allocations: 27.88 kB / 331.3 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.084e-05/0.2169, allocations: 27.12 kB / 331.4 MB, free: 14.06 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.217, allocations: 68.86 kB / 331.4 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.2172, allocations: 217.8 kB / 331.7 MB, free: 13.85 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.2175, allocations: 467.3 kB / 332.1 MB, free: 13.5 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2176, allocations: 1.219 kB / 332.1 MB, free: 13.5 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2176, allocations: 0 / 332.1 MB, free: 13.5 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2176, allocations: 0 / 332.1 MB, free: 13.5 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.0009321/0.2185, allocations: 0.6166 MB / 332.7 MB, free: 12.96 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2186, allocations: 8.938 kB / 332.7 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.882e-05/0.2187, allocations: 47.19 kB / 332.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.2189, allocations: 280.7 kB / 333.1 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.219, allocations: 30.09 kB / 333.1 MB, free: 12.63 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.136e-05/0.2191, allocations: 48 kB / 333.1 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007014/0.2198, allocations: 450.9 kB / 333.6 MB, free: 12.31 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.2198, allocations: 0.9062 kB / 333.6 MB, free: 12.31 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.2198, allocations: 16.62 kB / 333.6 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.2199, allocations: 13.59 kB / 333.6 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005256/0.2204, allocations: 286.2 kB / 333.9 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.2222, allocations: 1.315 MB / 335.2 MB, free: 11 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.2227, allocations: 242.7 kB / 335.4 MB, free: 10.75 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.2231, allocations: 200.7 kB / 335.6 MB, free: 10.55 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.2231, allocations: 4 kB / 335.6 MB, free: 10.55 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.2231, allocations: 42.5 kB / 335.7 MB, free: 10.5 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.2231, allocations: 0 / 335.7 MB, free: 10.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.001406/0.2246, allocations: 0.547 MB / 336.2 MB, free: 9.922 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.2247, allocations: 243.3 kB / 336.5 MB, free: 9.629 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.2249, allocations: 214.7 kB / 336.7 MB, free: 9.406 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.2249, allocations: 33.7 kB / 336.7 MB, free: 9.367 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.225, allocations: 195.9 kB / 336.9 MB, free: 9.172 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.29e-05/0.2251, allocations: 102.5 kB / 337 MB, free: 9.07 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.2252, allocations: 33.7 kB / 337 MB, free: 9.031 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2253, allocations: 334.8 kB / 337.4 MB, free: 8.695 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.2254, allocations: 71.97 kB / 337.4 MB, free: 8.625 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.2257, allocations: 165 kB / 337.6 MB, free: 8.434 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000832/0.2265, allocations: 378.2 kB / 338 MB, free: 8.059 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2265, allocations: 0 / 338 MB, free: 8.059 MB / 270.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004391/0.227, allocations: 285.3 kB / 338.2 MB, free: 7.773 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.227, allocations: 4 kB / 338.2 MB, free: 7.77 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.227, allocations: 3.938 kB / 338.2 MB, free: 7.766 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.227, allocations: 4 kB / 338.2 MB, free: 7.762 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.2273, allocations: 83.89 kB / 338.3 MB, free: 7.68 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.2273, allocations: 0 / 338.3 MB, free: 7.68 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.2275, allocations: 31.69 kB / 338.4 MB, free: 7.648 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.2276, allocations: 15.98 kB / 338.4 MB, free: 7.633 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.0002608/0.2278, allocations: 161.8 kB / 338.5 MB, free: 7.465 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.2279, allocations: 23.75 kB / 338.6 MB, free: 7.441 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.124e-05/0.228, allocations: 30.64 kB / 338.6 MB, free: 7.41 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.228, allocations: 4 kB / 338.6 MB, free: 7.406 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.228, allocations: 4 kB / 338.6 MB, free: 7.402 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.228, allocations: 0 / 338.6 MB, free: 7.402 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.2291, allocations: 0.7788 MB / 339.4 MB, free: 6.562 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2292, allocations: 4 kB / 339.4 MB, free: 6.559 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.2294, allocations: 51.91 kB / 339.4 MB, free: 6.508 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002696/0.2297, allocations: 84.8 kB / 339.5 MB, free: 6.422 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.2297, allocations: 8 kB / 339.5 MB, free: 6.414 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.2315, allocations: 1.839 MB / 341.4 MB, free: 4.441 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2316, allocations: 0 / 341.4 MB, free: 4.441 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007694/0.2323, allocations: 0.5171 MB / 341.9 MB, free: 3.902 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.2324, allocations: 104.8 kB / 342 MB, free: 3.781 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.2324, allocations: 8.062 kB / 342 MB, free: 3.773 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.2326, allocations: 11.98 kB / 342 MB, free: 3.762 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/0.2327, allocations: 23.97 kB / 342 MB, free: 3.738 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.2327, allocations: 8 kB / 342 MB, free: 3.73 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.2328, allocations: 148.6 kB / 342.2 MB, free: 3.586 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2328, allocations: 0 / 342.2 MB, free: 3.586 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003844/0.2332, allocations: 111.5 kB / 342.3 MB, free: 3.477 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.000113/0.2334, allocations: 107.2 kB / 342.4 MB, free: 3.363 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003756/0.2337, allocations: 207.8 kB / 342.6 MB, free: 3.16 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2338, allocations: 0 / 342.6 MB, free: 3.16 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004196/0.2342, allocations: 286.6 kB / 342.9 MB, free: 2.867 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.2345, allocations: 27.88 kB / 342.9 MB, free: 2.84 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.2359, allocations: 1.092 MB / 344 MB, free: 1.723 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.2362, allocations: 0.7869 MB / 344.8 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.2363, allocations: 33.92 kB / 344.8 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/0.2364, allocations: 19.44 kB / 344.8 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of SimCode: time 6.32e-07/0.2364, allocations: 0 / 344.8 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of Templates: time 0.005991/0.2424, allocations: 2.695 MB / 347.5 MB, free: 14.15 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)