Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") [: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.003905/0.003905, allocations: 186.3 kB / 7.455 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.316/1.316, allocations: 170.6 MB / 178.4 MB, free: 15.44 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.001682/0.001682, allocations: 104.5 kB / 217.7 MB, free: 8.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.115e-06/8.145e-06, allocations: 0 / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08679/0.08682, allocations: 38.77 MB / 300.5 MB, free: 3.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2865/0.3734, allocations: 73.35 MB / 373.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.3738, allocations: 86.33 kB / 373.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.07954/0.4534, allocations: 29.05 MB / 403 MB, free: 3.445 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001337/0.4535, allocations: 35.94 kB / 403 MB, free: 3.41 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005416/0.459, allocations: 1.641 MB / 404.7 MB, free: 1.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.459, allocations: 8.031 kB / 404.7 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.4604, allocations: 232.5 kB / 404.9 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003019/0.4634, allocations: 1.064 MB / 406 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.113e-05/0.4636, allocations: 44 kB / 406 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005073/0.4641, allocations: 79.94 kB / 406.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003203/0.4673, allocations: 1.333 MB / 407.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003313/0.4706, allocations: 1.517 MB / 408.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.4707, allocations: 4 kB / 408.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.4708, allocations: 0 / 408.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.405e-05/0.4709, allocations: 49.89 kB / 409 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/0.4809, allocations: 5.034 MB / 414 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008829/0.4819, allocations: 0.6838 MB / 414.7 MB, free: 8.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006068/0.4825, allocations: 390.3 kB / 415.1 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.4826, allocations: 8.422 kB / 415.1 MB, free: 7.695 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.4826, allocations: 42.92 kB / 415.1 MB, free: 7.645 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 2.955e-06/0.4826, allocations: 4 kB / 415.1 MB, free: 7.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=49): time 0.001772/0.4844, allocations: 0.7564 MB / 415.9 MB, free: 6.879 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.4845, allocations: 85.11 kB / 416 MB, free: 6.777 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.4861, allocations: 0.8909 MB / 416.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.728e-05/0.4862, allocations: 25.7 kB / 416.9 MB, free: 5.852 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/0.4867, allocations: 0.5214 MB / 417.4 MB, free: 5.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.4868, allocations: 173.5 kB / 417.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.4869, allocations: 0 / 417.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.487, allocations: 329.9 kB / 417.9 MB, free: 4.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004547/0.4875, allocations: 317.1 kB / 418.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/0.4881, allocations: 455.4 kB / 418.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000552/0.4887, allocations: 385 kB / 419 MB, free: 3.621 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.4887, allocations: 4 kB / 419 MB, free: 3.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001456/0.4902, allocations: 0.8498 MB / 419.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4902, allocations: 4 kB / 419.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.4902, allocations: 4 kB / 419.9 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.4903, allocations: 12 kB / 419.9 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007775/0.491, allocations: 180 kB / 420.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.4911, allocations: 8 kB / 420.1 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006553/0.4917, allocations: 71.69 kB / 420.2 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.4918, allocations: 23.91 kB / 420.2 MB, free: 2.465 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0001792/0.492, allocations: 125.6 kB / 420.3 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.4922, allocations: 90.91 kB / 420.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.4925, allocations: 99.89 kB / 420.5 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.4925, allocations: 4 kB / 420.5 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.132e-05/0.4925, allocations: 4 kB / 420.5 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.4926, allocations: 7.891 kB / 420.5 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004044/0.4966, allocations: 2.05 MB / 422.6 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.4966, allocations: 3.906 kB / 422.6 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/0.4971, allocations: 95.97 kB / 422.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004778/0.4976, allocations: 148.8 kB / 422.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/0.4977, allocations: 11.98 kB / 422.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003003/0.5007, allocations: 2.478 MB / 425.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5007, allocations: 3.938 kB / 425.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001929/0.5026, allocations: 1.349 MB / 426.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005491/0.5032, allocations: 259.8 kB / 426.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.5034, allocations: 8 kB / 426.9 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006355/0.5041, allocations: 55.95 kB / 427 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.5042, allocations: 35.94 kB / 427 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/0.5043, allocations: 16 kB / 427 MB, free: 11.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001082/0.5054, allocations: 0.6903 MB / 427.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001176/0.5065, allocations: 314.5 kB / 428 MB, free: 10.37 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002587/0.5068, allocations: 120.4 kB / 428.1 MB, free: 10.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.5079, allocations: 0.6633 MB / 428.8 MB, free: 9.586 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.5079, allocations: 4.25 kB / 428.8 MB, free: 9.582 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008663/0.5088, allocations: 483.5 kB / 429.3 MB, free: 9.098 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/0.5097, allocations: 136.7 kB / 429.4 MB, free: 8.961 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.5144, allocations: 2.182 MB / 431.6 MB, free: 6.727 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001577/0.516, allocations: 1.548 MB / 433.1 MB, free: 5.152 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.516, allocations: 4 kB / 433.1 MB, free: 5.148 MB / 314.7 MB Notification: Performance of Templates: time 0.02095/0.537, allocations: 9.285 MB / 442.4 MB, free: 11.85 MB / 330.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)