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.0009343/0.0009341, allocations: 91.84 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.005679/0.005679, allocations: 170.5 kB / 16.26 MB, free: 6.676 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.351/1.351, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.0004445/0.0004445, allocations: 14.66 kB / 279.5 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2082, allocations: 47.58 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003215/0.2115, allocations: 2.438 MB / 329.5 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.2128, allocations: 0.7338 MB / 330.2 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.213, allocations: 6.688 kB / 330.2 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.2131, allocations: 42.42 kB / 330.2 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.2134, allocations: 76.94 kB / 330.3 MB, free: 14.74 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.2137, allocations: 106.1 kB / 330.4 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004551/0.2142, allocations: 416 kB / 330.8 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.2145, allocations: 182.9 kB / 331 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.2148, allocations: 148.6 kB / 331.2 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.215, allocations: 168.3 kB / 331.3 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.364e-05/0.2151, allocations: 23.72 kB / 331.3 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-05/0.2151, allocations: 26.97 kB / 331.4 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.2152, allocations: 73 kB / 331.4 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.2154, allocations: 209.9 kB / 331.6 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.2158, allocations: 475.1 kB / 332.1 MB, free: 13.53 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2158, allocations: 0 / 332.1 MB, free: 13.53 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2158, allocations: 4.812 kB / 332.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.2158, allocations: 0 / 332.1 MB, free: 13.52 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.0009803/0.2168, allocations: 0.6122 MB / 332.7 MB, free: 12.99 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2169, allocations: 9.719 kB / 332.7 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.008e-05/0.217, allocations: 46.38 kB / 332.8 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.2173, allocations: 281 kB / 333.1 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.2173, allocations: 34.75 kB / 333.1 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-05/0.2174, allocations: 40.16 kB / 333.1 MB, free: 12.65 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007075/0.2181, allocations: 458.6 kB / 333.6 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.2181, allocations: 1.062 kB / 333.6 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.2182, allocations: 16.22 kB / 333.6 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.2182, allocations: 14.5 kB / 333.6 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005306/0.2187, allocations: 285.5 kB / 333.9 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.2205, allocations: 1.313 MB / 335.2 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.221, allocations: 242.7 kB / 335.4 MB, free: 10.77 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.2213, allocations: 196.7 kB / 335.6 MB, free: 10.57 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.2214, allocations: 4 kB / 335.6 MB, free: 10.57 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.2214, allocations: 42.56 kB / 335.7 MB, free: 10.52 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.904e-06/0.2214, allocations: 0 / 335.7 MB, free: 10.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.001338/0.2227, allocations: 0.5548 MB / 336.2 MB, free: 9.938 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.476e-05/0.2229, allocations: 239.3 kB / 336.5 MB, free: 9.648 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.223, allocations: 210.8 kB / 336.7 MB, free: 9.43 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.2231, allocations: 33.7 kB / 336.7 MB, free: 9.391 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.2232, allocations: 199.9 kB / 336.9 MB, free: 9.191 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.816e-05/0.2233, allocations: 98.56 kB / 337 MB, free: 9.094 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.2233, allocations: 29.7 kB / 337 MB, free: 9.059 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2234, allocations: 342.8 kB / 337.4 MB, free: 8.715 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.2236, allocations: 71.97 kB / 337.4 MB, free: 8.645 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.2238, allocations: 165 kB / 337.6 MB, free: 8.453 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008548/0.2247, allocations: 374.2 kB / 338 MB, free: 8.082 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2247, allocations: 0 / 338 MB, free: 8.082 MB / 270.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004665/0.2251, allocations: 289.2 kB / 338.2 MB, free: 7.793 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2252, allocations: 8 kB / 338.2 MB, free: 7.785 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2252, allocations: 0 / 338.2 MB, free: 7.785 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2252, allocations: 4 kB / 338.2 MB, free: 7.781 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.2255, allocations: 75.89 kB / 338.3 MB, free: 7.707 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2255, allocations: 4 kB / 338.3 MB, free: 7.703 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.2257, allocations: 39.75 kB / 338.4 MB, free: 7.664 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.2258, allocations: 15.98 kB / 338.4 MB, free: 7.648 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.0002105/0.226, allocations: 153.7 kB / 338.5 MB, free: 7.488 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.226, allocations: 23.75 kB / 338.6 MB, free: 7.465 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.07e-05/0.2261, allocations: 34.64 kB / 338.6 MB, free: 7.43 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2261, allocations: 4 kB / 338.6 MB, free: 7.426 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.2261, allocations: 4 kB / 338.6 MB, free: 7.422 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2261, allocations: 4 kB / 338.6 MB, free: 7.418 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.2272, allocations: 0.7749 MB / 339.4 MB, free: 6.582 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2272, allocations: 3.984 kB / 339.4 MB, free: 6.578 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.2274, allocations: 55.91 kB / 339.4 MB, free: 6.523 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000267/0.2277, allocations: 92.83 kB / 339.5 MB, free: 6.43 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.2277, allocations: 4 kB / 339.5 MB, free: 6.426 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.2295, allocations: 1.835 MB / 341.4 MB, free: 4.457 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2295, allocations: 3.984 kB / 341.4 MB, free: 4.453 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.2303, allocations: 0.5132 MB / 341.9 MB, free: 3.918 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.2304, allocations: 100.8 kB / 342 MB, free: 3.801 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.2304, allocations: 12.06 kB / 342 MB, free: 3.789 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.2306, allocations: 15.98 kB / 342 MB, free: 3.773 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.2307, allocations: 19.97 kB / 342 MB, free: 3.754 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.2307, allocations: 8 kB / 342 MB, free: 3.746 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.2308, allocations: 148.6 kB / 342.2 MB, free: 3.602 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2308, allocations: 4 kB / 342.2 MB, free: 3.598 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003592/0.2312, allocations: 111.5 kB / 342.3 MB, free: 3.488 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.000108/0.2313, allocations: 103.2 kB / 342.4 MB, free: 3.379 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003891/0.2317, allocations: 207.9 kB / 342.6 MB, free: 3.176 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2317, allocations: 4.062 kB / 342.6 MB, free: 3.172 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004/0.2321, allocations: 278.5 kB / 342.9 MB, free: 2.887 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.2324, allocations: 31.88 kB / 342.9 MB, free: 2.855 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.2337, allocations: 1.096 MB / 344 MB, free: 1.734 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.234, allocations: 0.787 MB / 344.8 MB, free: 0.918 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.399e-05/0.2341, allocations: 21.94 kB / 344.8 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.2342, allocations: 19.44 kB / 344.8 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2342, allocations: 0 / 344.8 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of Templates: time 0.006071/0.2403, allocations: 2.706 MB / 347.5 MB, free: 14.16 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)