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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003516/0.003516, allocations: 179.4 kB / 7.452 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.133/1.133, allocations: 170.6 MB / 178.4 MB, free: 15.38 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001727/0.001727, allocations: 108.4 kB / 217.7 MB, free: 8.148 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/6.953e-06, allocations: 0 / 261.7 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07104/0.07106, allocations: 38.77 MB / 300.5 MB, free: 3.891 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2478/0.3189, allocations: 66.69 MB / 367.2 MB, free: 2.039 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.3192, allocations: 70.03 kB / 367.3 MB, free: 2.004 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.01431/0.3335, allocations: 5.158 MB / 372.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.3336, allocations: 8 kB / 372.4 MB, free: 13.73 MB / 266.7 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.0009402/0.3345, allocations: 0.6111 MB / 373 MB, free: 13.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.3346, allocations: 10.55 kB / 373 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.695e-05/0.3347, allocations: 47.53 kB / 373.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.3351, allocations: 270.1 kB / 373.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.3352, allocations: 12 kB / 373.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-05/0.3352, allocations: 31.98 kB / 373.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004844/0.3357, allocations: 231.4 kB / 373.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006415/0.3364, allocations: 372.7 kB / 374 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.3364, allocations: 3.375 kB / 374 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.3365, allocations: 3.906 kB / 374 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.3365, allocations: 8 kB / 374 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.3384, allocations: 1.241 MB / 375.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.3387, allocations: 136.1 kB / 375.4 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/0.3391, allocations: 189.3 kB / 375.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.3391, allocations: 8.5 kB / 375.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.3392, allocations: 34.19 kB / 375.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.304e-06/0.3392, allocations: 3.938 kB / 375.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005894/0.3398, allocations: 257.3 kB / 375.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.3399, allocations: 239.3 kB / 376.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.3401, allocations: 155.7 kB / 376.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.3401, allocations: 25.7 kB / 376.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.3402, allocations: 196.4 kB / 376.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.024e-05/0.3403, allocations: 101.3 kB / 376.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.3404, allocations: 0 / 376.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3405, allocations: 330.6 kB / 376.9 MB, free: 9.648 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.3406, allocations: 60.75 kB / 376.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.3408, allocations: 149.5 kB / 377.1 MB, free: 9.469 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.341, allocations: 81.14 kB / 377.2 MB, free: 9.418 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.341, allocations: 0 / 377.2 MB, free: 9.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003533/0.3414, allocations: 226.2 kB / 377.4 MB, free: 9.238 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3414, allocations: 4 kB / 377.4 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3414, allocations: 12.05 kB / 377.4 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.3414, allocations: 0 / 377.4 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.3418, allocations: 79.09 kB / 377.5 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3418, allocations: 7.984 kB / 377.5 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.342, allocations: 19.75 kB / 377.5 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.342, allocations: 11.44 kB / 377.5 MB, free: 9.113 MB / 266.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.3421, allocations: 108.9 kB / 377.6 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.3422, allocations: 27.72 kB / 377.7 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.045e-05/0.3423, allocations: 24.58 kB / 377.7 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3423, allocations: 4 kB / 377.7 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.3423, allocations: 4 kB / 377.7 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3423, allocations: 0 / 377.7 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009601/0.3433, allocations: 0.6758 MB / 378.4 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3433, allocations: 0 / 378.4 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.3436, allocations: 58.88 kB / 378.4 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003317/0.3439, allocations: 89.34 kB / 378.5 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.3439, allocations: 7.984 kB / 378.5 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/0.3458, allocations: 1.694 MB / 380.2 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.3458, allocations: 3.938 kB / 380.2 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006625/0.3465, allocations: 486.4 kB / 380.7 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.3466, allocations: 110.7 kB / 380.8 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.3467, allocations: 3.5 kB / 380.8 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.3469, allocations: 15.98 kB / 380.8 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.3469, allocations: 15.91 kB / 380.8 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.3469, allocations: 19.33 kB / 380.8 MB, free: 6.062 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.644e-05/0.347, allocations: 119.9 kB / 381 MB, free: 5.961 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000421/0.3475, allocations: 95.62 kB / 381.1 MB, free: 5.867 MB / 266.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001776/0.3477, allocations: 103.2 kB / 381.2 MB, free: 5.758 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003163/0.348, allocations: 177.7 kB / 381.3 MB, free: 5.637 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.348, allocations: 4.125 kB / 381.3 MB, free: 5.633 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003535/0.3484, allocations: 215.9 kB / 381.5 MB, free: 5.445 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.3486, allocations: 19.81 kB / 381.6 MB, free: 5.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.3497, allocations: 0.6521 MB / 382.2 MB, free: 4.797 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/0.3502, allocations: 0.8215 MB / 383 MB, free: 3.953 MB / 266.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3502, allocations: 0 / 383 MB, free: 3.953 MB / 266.7 MB Notification: Performance of Templates: time 0.006017/0.3562, allocations: 2.716 MB / 385.8 MB, free: 1.242 MB / 266.7 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)