Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2+maint.om/package.mo): time 0.001964/0.001964, allocations: 190.9 kB / 8.136 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.057/1.057, allocations: 194.2 MB / 202.8 MB, free: 8.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001743/0.001743, allocations: 116.5 kB / 247.7 MB, free: 6.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.125e-06/8.145e-06, allocations: 4 kB / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06913/0.06915, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1811/0.2502, allocations: 71.89 MB / 413.9 MB, free: 23.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001661/0.2504, allocations: 67.66 kB / 414 MB, free: 23.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.013/0.2635, allocations: 5.092 MB / 419.1 MB, free: 18.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.2635, allocations: 16 kB / 419.1 MB, free: 18.98 MB / 314.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.0007201/0.2642, allocations: 0.5974 MB / 419.7 MB, free: 18.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2643, allocations: 8.031 kB / 419.7 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.616e-05/0.2644, allocations: 47.53 kB / 419.8 MB, free: 18.31 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.2646, allocations: 278.9 kB / 420 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.2647, allocations: 12.75 kB / 420.1 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.288e-05/0.2647, allocations: 27.94 kB / 420.1 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003999/0.2651, allocations: 239.3 kB / 420.3 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.2656, allocations: 371.5 kB / 420.7 MB, free: 17.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.2656, allocations: 3.906 kB / 420.7 MB, free: 17.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.2657, allocations: 2 kB / 420.7 MB, free: 17.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.2657, allocations: 8 kB / 420.7 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.2671, allocations: 1.236 MB / 421.9 MB, free: 16.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.2674, allocations: 139 kB / 422.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.2677, allocations: 187.1 kB / 422.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.2677, allocations: 4 kB / 422.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.2677, allocations: 38.11 kB / 422.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.532e-06/0.2677, allocations: 0 / 422.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004934/0.2682, allocations: 252.7 kB / 422.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.2683, allocations: 239.3 kB / 422.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/0.2684, allocations: 161 kB / 422.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.2684, allocations: 25.7 kB / 422.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.2685, allocations: 193.9 kB / 423.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.2685, allocations: 97.3 kB / 423.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.102e-05/0.2685, allocations: 0.5469 kB / 423.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.516e-05/0.2686, allocations: 329.5 kB / 423.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.59e-05/0.2687, allocations: 65.17 kB / 423.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.2688, allocations: 141.1 kB / 423.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.269, allocations: 77.41 kB / 423.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.269, allocations: 11.94 kB / 423.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002989/0.2693, allocations: 230.3 kB / 424.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.2693, allocations: 4 kB / 424.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2693, allocations: 0 / 424.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2694, allocations: 4 kB / 424.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.2697, allocations: 83.83 kB / 424.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2697, allocations: 3.906 kB / 424.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.2699, allocations: 27.84 kB / 424.2 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.2699, allocations: 7.5 kB / 424.2 MB, free: 14.39 MB / 314.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 6.19e-05/0.27, allocations: 116.6 kB / 424.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.27, allocations: 23.8 kB / 424.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.601e-05/0.2701, allocations: 24.16 kB / 424.4 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2701, allocations: 4 kB / 424.4 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2701, allocations: 0 / 424.4 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2701, allocations: 7.891 kB / 424.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007456/0.2709, allocations: 0.6842 MB / 425.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2709, allocations: 0 / 425.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.2712, allocations: 55.81 kB / 425.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002781/0.2715, allocations: 94.72 kB / 425.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.2715, allocations: 0 / 425.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.2728, allocations: 1.697 MB / 426.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2728, allocations: 9.156 kB / 426.9 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005752/0.2734, allocations: 469.5 kB / 427.4 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.2735, allocations: 102.5 kB / 427.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.2735, allocations: 6.812 kB / 427.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.2737, allocations: 7.984 kB / 427.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.2737, allocations: 11.98 kB / 427.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.2738, allocations: 11.69 kB / 427.5 MB, free: 11.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.51e-05/0.2738, allocations: 120.9 kB / 427.6 MB, free: 11.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003607/0.2742, allocations: 99.56 kB / 427.7 MB, free: 11.16 MB / 314.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.0001203/0.2743, allocations: 113.1 kB / 427.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002612/0.2746, allocations: 189.5 kB / 428 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2746, allocations: 0 / 428 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.2749, allocations: 214.9 kB / 428.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.2751, allocations: 15.59 kB / 428.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009252/0.276, allocations: 0.6503 MB / 428.9 MB, free: 10.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.2763, allocations: 0.8177 MB / 429.7 MB, free: 9.25 MB / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2763, allocations: 0 / 429.7 MB, free: 9.25 MB / 314.7 MB Notification: Performance of Templates: time 0.005108/0.2814, allocations: 2.736 MB / 432.4 MB, free: 6.57 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1)