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.001105/0.001105, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001159/0.001159, allocations: 190.1 kB / 16.25 MB, free: 6.625 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.387/1.387, 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.001267/0.001267, allocations: 51.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1972, allocations: 46.63 MB / 324.8 MB, free: 1.906 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003384/0.2006, allocations: 2.813 MB / 327.7 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.2018, allocations: 0.7396 MB / 328.4 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.202, allocations: 7.031 kB / 328.4 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.2021, allocations: 46.14 kB / 328.5 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.2023, allocations: 77.34 kB / 328.5 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.2026, allocations: 101.7 kB / 328.6 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00041/0.2031, allocations: 441.2 kB / 329.1 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.2034, allocations: 219.1 kB / 329.3 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.2036, allocations: 178.1 kB / 329.4 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.2038, allocations: 206.7 kB / 329.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.253e-05/0.2039, allocations: 44.16 kB / 329.7 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.71e-05/0.204, allocations: 50.09 kB / 329.7 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.315e-05/0.2041, allocations: 95.73 kB / 329.8 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.2043, allocations: 211.7 kB / 330 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000446/0.2047, allocations: 0.491 MB / 330.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2047, allocations: 0 / 330.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2048, allocations: 0 / 330.5 MB, free: 13.61 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.2048, allocations: 1.438 kB / 330.5 MB, free: 13.61 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.001094/0.2059, allocations: 0.6801 MB / 331.2 MB, free: 13.02 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2059, allocations: 10.03 kB / 331.2 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.832e-05/0.206, allocations: 47.12 kB / 331.3 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.2064, allocations: 280.5 kB / 331.5 MB, free: 12.71 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.2064, allocations: 34.56 kB / 331.6 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.01e-05/0.2065, allocations: 39.91 kB / 331.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007021/0.2072, allocations: 456.8 kB / 332.1 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.2072, allocations: 1.844 kB / 332.1 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.2073, allocations: 16.56 kB / 332.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.2073, allocations: 9.281 kB / 332.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005475/0.2078, allocations: 290.5 kB / 332.4 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.2096, allocations: 1.307 MB / 333.7 MB, free: 11.04 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.2101, allocations: 250.7 kB / 333.9 MB, free: 10.79 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003571/0.2104, allocations: 188.8 kB / 334.1 MB, free: 10.6 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.2105, allocations: 11.94 kB / 334.1 MB, free: 10.59 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.2105, allocations: 38.56 kB / 334.2 MB, free: 10.54 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.433e-06/0.2105, allocations: 0 / 334.2 MB, free: 10.54 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.001438/0.212, allocations: 0.5392 MB / 334.7 MB, free: 9.977 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.2121, allocations: 243.3 kB / 334.9 MB, free: 9.684 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.2123, allocations: 206.8 kB / 335.1 MB, free: 9.469 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.2123, allocations: 33.7 kB / 335.2 MB, free: 9.43 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.2124, allocations: 199.9 kB / 335.4 MB, free: 9.23 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.2125, allocations: 110.4 kB / 335.5 MB, free: 9.121 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.068e-05/0.2126, allocations: 57.7 kB / 335.5 MB, free: 9.059 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2127, allocations: 334.8 kB / 335.9 MB, free: 8.723 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.2129, allocations: 71.97 kB / 335.9 MB, free: 8.652 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.2131, allocations: 161 kB / 336.1 MB, free: 8.465 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009856/0.2141, allocations: 366.6 kB / 336.4 MB, free: 8.102 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2141, allocations: 0 / 336.4 MB, free: 8.102 MB / 270.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006797/0.2148, allocations: 281 kB / 336.7 MB, free: 7.82 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.2148, allocations: 7.938 kB / 336.7 MB, free: 7.812 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.2148, allocations: 4 kB / 336.7 MB, free: 7.809 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.2149, allocations: 3.984 kB / 336.7 MB, free: 7.805 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.2152, allocations: 79.89 kB / 336.8 MB, free: 7.727 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.2152, allocations: 0 / 336.8 MB, free: 7.727 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.2154, allocations: 35.67 kB / 336.8 MB, free: 7.691 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.2155, allocations: 12 kB / 336.9 MB, free: 7.68 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.0003208/0.2158, allocations: 153.8 kB / 337 MB, free: 7.52 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.2158, allocations: 27.66 kB / 337 MB, free: 7.492 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.405e-05/0.2159, allocations: 34.64 kB / 337.1 MB, free: 7.457 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.2159, allocations: 0 / 337.1 MB, free: 7.457 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-05/0.216, allocations: 4 kB / 337.1 MB, free: 7.453 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.216, allocations: 0 / 337.1 MB, free: 7.453 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.2173, allocations: 0.7711 MB / 337.8 MB, free: 6.621 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2173, allocations: 0 / 337.8 MB, free: 6.621 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.2176, allocations: 51.91 kB / 337.9 MB, free: 6.57 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003137/0.2179, allocations: 92.8 kB / 338 MB, free: 6.477 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.2179, allocations: 4 kB / 338 MB, free: 6.473 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.2199, allocations: 1.985 MB / 340 MB, free: 4.352 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2199, allocations: 0 / 340 MB, free: 4.352 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008097/0.2207, allocations: 0.5053 MB / 340.5 MB, free: 3.824 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.327e-05/0.2208, allocations: 112.8 kB / 340.6 MB, free: 3.695 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.2208, allocations: 8 kB / 340.6 MB, free: 3.688 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.221, allocations: 11.98 kB / 340.6 MB, free: 3.676 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/0.2211, allocations: 27.95 kB / 340.6 MB, free: 3.648 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.2211, allocations: 4 kB / 340.6 MB, free: 3.645 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.2213, allocations: 156.5 kB / 340.8 MB, free: 3.492 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.904e-06/0.2213, allocations: 0 / 340.8 MB, free: 3.492 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004436/0.2217, allocations: 103.6 kB / 340.9 MB, free: 3.391 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.0001536/0.2219, allocations: 107.2 kB / 341 MB, free: 3.273 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005211/0.2224, allocations: 223.6 kB / 341.2 MB, free: 3.055 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2224, allocations: 0 / 341.2 MB, free: 3.055 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004032/0.2228, allocations: 270.7 kB / 341.5 MB, free: 2.777 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.2232, allocations: 24 kB / 341.5 MB, free: 2.754 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.2248, allocations: 0.9941 MB / 342.5 MB, free: 1.73 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.2251, allocations: 0.787 MB / 343.3 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.2252, allocations: 29.94 kB / 343.3 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.2253, allocations: 27.36 kB / 343.3 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2253, allocations: 0 / 343.3 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of Templates: time 0.006242/0.2316, allocations: 2.878 MB / 346.2 MB, free: 13.98 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)