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.005429/0.005429, allocations: 101.6 kB / 15.73 MB, free: 6.039 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.001268/0.001268, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.347/1.347, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001183/0.001183, allocations: 57.64 kB / 326.5 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07979/0.08098, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003439/0.08446, allocations: 2.755 MB / 375.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.08566, allocations: 0.7601 MB / 376.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.08579, allocations: 12 kB / 376.7 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.08593, allocations: 59.42 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.08612, allocations: 95.05 kB / 376.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.08648, allocations: 119.8 kB / 377 MB, free: 13.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004211/0.08691, allocations: 438.8 kB / 377.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.08726, allocations: 228.7 kB / 377.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.08746, allocations: 175.5 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.08769, allocations: 207.1 kB / 378 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.501e-05/0.08777, allocations: 44 kB / 378 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.74e-05/0.08783, allocations: 52 kB / 378.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.968e-05/0.08792, allocations: 95.69 kB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.0881, allocations: 215 kB / 378.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004066/0.08852, allocations: 498.2 kB / 378.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.08853, allocations: 8 kB / 378.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.08854, allocations: 0 / 378.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.08855, allocations: 0 / 378.9 MB, free: 11.56 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.001041/0.0896, allocations: 0.6826 MB / 379.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.08965, allocations: 12.03 kB / 379.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.669e-05/0.08974, allocations: 40.47 kB / 379.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.09002, allocations: 276.3 kB / 379.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.09006, allocations: 41.31 kB / 379.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.067e-05/0.09013, allocations: 36.38 kB / 380 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007086/0.09085, allocations: 455.6 kB / 380.4 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.09088, allocations: 0 / 380.4 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.09093, allocations: 16 kB / 380.4 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.09095, allocations: 12 kB / 380.4 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005213/0.09148, allocations: 287.8 kB / 380.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.09325, allocations: 1.295 MB / 382 MB, free: 8.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.09368, allocations: 242.7 kB / 382.3 MB, free: 7.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/0.09406, allocations: 196.7 kB / 382.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.09409, allocations: 4 kB / 382.4 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.09412, allocations: 34.56 kB / 382.5 MB, free: 7.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.09413, allocations: 0 / 382.5 MB, free: 7.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001372/0.09551, allocations: 0.5501 MB / 383 MB, free: 7.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.09564, allocations: 239.3 kB / 383.3 MB, free: 6.863 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.09584, allocations: 210.9 kB / 383.5 MB, free: 6.648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.09588, allocations: 29.7 kB / 383.5 MB, free: 6.613 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.09602, allocations: 200 kB / 383.7 MB, free: 6.414 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.629e-05/0.0961, allocations: 102.5 kB / 383.8 MB, free: 6.312 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.425e-05/0.09619, allocations: 61.69 kB / 383.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.09631, allocations: 334.8 kB / 384.2 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.09646, allocations: 75.83 kB / 384.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.09669, allocations: 160.6 kB / 384.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000837/0.09754, allocations: 358.1 kB / 384.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.09755, allocations: 4 kB / 384.8 MB, free: 5.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004484/0.09801, allocations: 284.8 kB / 385 MB, free: 5.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.09803, allocations: 9.094 kB / 385.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.09804, allocations: 0 / 385.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.09807, allocations: 4 kB / 385.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.09839, allocations: 75.89 kB / 385.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.09841, allocations: 4 kB / 385.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.09859, allocations: 31.66 kB / 385.2 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.09861, allocations: 12.06 kB / 385.2 MB, free: 4.871 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.0002739/0.09889, allocations: 161.7 kB / 385.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.09895, allocations: 23.75 kB / 385.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.805e-05/0.09902, allocations: 26.66 kB / 385.4 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.09904, allocations: 7.984 kB / 385.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.09905, allocations: 3.938 kB / 385.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.09906, allocations: 0 / 385.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.1001, allocations: 0.7711 MB / 386.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1001, allocations: 3.984 kB / 386.2 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.1003, allocations: 47.91 kB / 386.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002754/0.1006, allocations: 96.75 kB / 386.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.1007, allocations: 11.98 kB / 386.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.1026, allocations: 1.969 MB / 388.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1026, allocations: 0 / 388.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007536/0.1033, allocations: 0.5138 MB / 388.8 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.1034, allocations: 108.9 kB / 388.9 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.1034, allocations: 7.984 kB / 388.9 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.1036, allocations: 12 kB / 388.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.1037, allocations: 23.97 kB / 389 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1037, allocations: 4 kB / 389 MB, free: 0.832 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.1039, allocations: 160.3 kB / 389.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1039, allocations: 0 / 389.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003947/0.1043, allocations: 107.6 kB / 389.2 MB, free: 0.5703 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.0001204/0.1044, allocations: 107.2 kB / 389.3 MB, free: 468 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000403/0.1048, allocations: 207.8 kB / 389.5 MB, free: 260 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1048, allocations: 0 / 389.5 MB, free: 260 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004251/0.1052, allocations: 270.8 kB / 389.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.1056, allocations: 28.17 kB / 389.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.1069, allocations: 0.8459 MB / 390.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.1072, allocations: 0.7831 MB / 391.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.936e-05/0.1073, allocations: 25.94 kB / 391.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.766e-05/0.1074, allocations: 19.44 kB / 391.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1074, allocations: 3.938 kB / 391.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of Templates: time 0.00639/0.1138, allocations: 2.938 MB / 394.4 MB, free: 11.27 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)