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.001049/0.001049, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001193/0.001193, allocations: 196.4 kB / 16.14 MB, free: 6.707 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 MB, free: 5.008 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.001103/0.001103, allocations: 55.91 kB / 278 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2083, allocations: 46.63 MB / 324.7 MB, free: 1.82 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003411/0.2117, allocations: 2.812 MB / 327.5 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.2128, allocations: 0.7522 MB / 328.2 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.213, allocations: 7.156 kB / 328.2 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.2131, allocations: 41.39 kB / 328.3 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.2133, allocations: 74.06 kB / 328.4 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.2137, allocations: 101.3 kB / 328.5 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003856/0.214, allocations: 423.8 kB / 328.9 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.2144, allocations: 187.7 kB / 329.1 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.2146, allocations: 165.7 kB / 329.2 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.2148, allocations: 194.4 kB / 329.4 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.875e-05/0.2149, allocations: 37.75 kB / 329.4 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.368e-05/0.2149, allocations: 38 kB / 329.5 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.884e-05/0.215, allocations: 83.36 kB / 329.6 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.2152, allocations: 208.2 kB / 329.8 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004073/0.2156, allocations: 481.9 kB / 330.2 MB, free: 13.59 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2156, allocations: 1.219 kB / 330.2 MB, free: 13.59 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.2156, allocations: 0 / 330.2 MB, free: 13.59 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.2157, allocations: 0 / 330.2 MB, free: 13.59 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.001071/0.2167, allocations: 0.6855 MB / 330.9 MB, free: 13 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2168, allocations: 9.031 kB / 330.9 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.2169, allocations: 46.72 kB / 331 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.2172, allocations: 273.4 kB / 331.2 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.2172, allocations: 30.47 kB / 331.3 MB, free: 12.69 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.817e-05/0.2173, allocations: 43.38 kB / 331.3 MB, free: 12.67 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007325/0.218, allocations: 454.1 kB / 331.8 MB, free: 12.37 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.2181, allocations: 0 / 331.8 MB, free: 12.37 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.2181, allocations: 20.17 kB / 331.8 MB, free: 12.35 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.2181, allocations: 10 kB / 331.8 MB, free: 12.35 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.2187, allocations: 285.9 kB / 332.1 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.2205, allocations: 1.313 MB / 333.4 MB, free: 11.14 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/0.221, allocations: 245.8 kB / 333.6 MB, free: 11.01 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.2214, allocations: 192.9 kB / 333.8 MB, free: 10.82 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.2214, allocations: 8 kB / 333.8 MB, free: 10.81 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.2214, allocations: 42.55 kB / 333.9 MB, free: 10.76 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.322e-06/0.2214, allocations: 0 / 333.9 MB, free: 10.76 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.001364/0.2228, allocations: 0.543 MB / 334.4 MB, free: 10.19 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.2229, allocations: 235.3 kB / 334.6 MB, free: 9.902 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.2231, allocations: 210.7 kB / 334.8 MB, free: 9.684 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.2232, allocations: 33.7 kB / 334.9 MB, free: 9.645 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.2233, allocations: 203.9 kB / 335.1 MB, free: 9.441 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.2234, allocations: 102.5 kB / 335.2 MB, free: 9.34 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.415e-05/0.2235, allocations: 61.69 kB / 335.2 MB, free: 9.273 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2236, allocations: 334.8 kB / 335.6 MB, free: 8.938 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.2237, allocations: 71.97 kB / 335.6 MB, free: 8.867 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.2239, allocations: 165 kB / 335.8 MB, free: 8.676 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008338/0.2248, allocations: 366.3 kB / 336.1 MB, free: 8.312 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2248, allocations: 0 / 336.1 MB, free: 8.312 MB / 270.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004204/0.2252, allocations: 281.2 kB / 336.4 MB, free: 8.031 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2253, allocations: 4 kB / 336.4 MB, free: 8.027 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2253, allocations: 0 / 336.4 MB, free: 8.027 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2253, allocations: 4 kB / 336.4 MB, free: 8.023 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.2256, allocations: 83.89 kB / 336.5 MB, free: 7.941 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2256, allocations: 80 / 336.5 MB, free: 7.941 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.2258, allocations: 35.62 kB / 336.5 MB, free: 7.906 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.2258, allocations: 19.97 kB / 336.6 MB, free: 7.887 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.0002695/0.2261, allocations: 157.8 kB / 336.7 MB, free: 7.723 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.2262, allocations: 27.66 kB / 336.7 MB, free: 7.695 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.131e-05/0.2262, allocations: 34.64 kB / 336.8 MB, free: 7.66 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2263, allocations: 4 kB / 336.8 MB, free: 7.656 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.2263, allocations: 4 kB / 336.8 MB, free: 7.652 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.2263, allocations: 0 / 336.8 MB, free: 7.652 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000999/0.2273, allocations: 0.7711 MB / 337.6 MB, free: 6.82 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2273, allocations: 0 / 337.6 MB, free: 6.82 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.2276, allocations: 51.91 kB / 337.6 MB, free: 6.77 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002717/0.2278, allocations: 84.8 kB / 337.7 MB, free: 6.684 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.2279, allocations: 8 kB / 337.7 MB, free: 6.676 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.2296, allocations: 1.839 MB / 339.5 MB, free: 4.703 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2296, allocations: 0 / 339.5 MB, free: 4.703 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007078/0.2303, allocations: 0.5054 MB / 340 MB, free: 4.176 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/0.2304, allocations: 112.7 kB / 340.2 MB, free: 4.047 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.2304, allocations: 4 kB / 340.2 MB, free: 4.043 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.2306, allocations: 20.05 kB / 340.2 MB, free: 4.023 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.2306, allocations: 24.08 kB / 340.2 MB, free: 4 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.2307, allocations: 7.938 kB / 340.2 MB, free: 3.992 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.2308, allocations: 148.6 kB / 340.4 MB, free: 3.848 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2308, allocations: 0 / 340.4 MB, free: 3.848 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.2312, allocations: 107.6 kB / 340.5 MB, free: 3.742 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.0001225/0.2313, allocations: 107.2 kB / 340.6 MB, free: 3.629 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003797/0.2317, allocations: 211.7 kB / 340.8 MB, free: 3.422 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2317, allocations: 0 / 340.8 MB, free: 3.422 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.2321, allocations: 274.5 kB / 341 MB, free: 3.141 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.2324, allocations: 23.94 kB / 341.1 MB, free: 3.117 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.2336, allocations: 1.002 MB / 342.1 MB, free: 2.086 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.2339, allocations: 0.787 MB / 342.9 MB, free: 1.27 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.571e-05/0.234, allocations: 17.95 kB / 342.9 MB, free: 1.25 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.2341, allocations: 19.44 kB / 342.9 MB, free: 1.23 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2341, allocations: 4 kB / 342.9 MB, free: 1.227 MB / 270.1 MB Notification: Performance of Templates: time 0.005641/0.2397, allocations: 2.746 MB / 345.6 MB, free: 14.48 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)