Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage") [: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 trunk/package.mo): time 0.001112/0.001112, allocations: 205.4 kB / 8.54 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008689/0.0008689, allocations: 89.73 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.259e-05/1.262e-05, allocations: 0 / 343.2 MB, free: 8.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 51.48 MB / 394.6 MB, free: 5.129 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3509/0.4803, allocations: 115.2 MB / 0.4979 GB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/0.4807, allocations: 104 kB / 0.498 GB, free: 10.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.135/1.616, allocations: 310.3 MB / 0.801 GB, free: 20.28 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001837/1.617, allocations: 302.8 kB / 0.8013 GB, free: 20.25 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3573 * Number of variables: 3573 Notification: Performance of Generate backend data structure: time 0.04677/1.664, allocations: 12.27 MB / 0.8132 GB, free: 16.13 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/1.664, allocations: 14.16 kB / 0.8133 GB, free: 16.13 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02145/1.686, allocations: 3.3 MB / 0.8165 GB, free: 15.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03698/1.723, allocations: 11.14 MB / 0.8274 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0015/1.724, allocations: 432.2 kB / 0.8278 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007283/1.732, allocations: 0.7784 MB / 0.8285 GB, free: 13.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04346/1.775, allocations: 15.21 MB / 0.8434 GB, free: 13.87 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0531/1.828, allocations: 16.74 MB / 0.8597 GB, free: 6.711 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006824/1.829, allocations: 15.94 kB / 0.8597 GB, free: 6.703 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005761/1.835, allocations: 11.44 kB / 0.8598 GB, free: 6.703 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005429/1.835, allocations: 0.6255 MB / 0.8604 GB, free: 6.648 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4153/2.251, allocations: 57.94 MB / 0.917 GB, free: 85.55 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009009/2.26, allocations: 4.906 MB / 0.9217 GB, free: 85.53 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01353/2.273, allocations: 7.47 MB / 0.929 GB, free: 85.44 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04875/2.322, allocations: 20.56 MB / 0.9491 GB, free: 83.37 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.897e-05/2.322, allocations: 117 kB / 0.9492 GB, free: 83.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=710): time 9.888e-06/2.322, allocations: 0 / 0.9492 GB, free: 83.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=829): time 0.0625/2.385, allocations: 27.71 MB / 0.9763 GB, free: 81.39 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.963e-05/2.385, allocations: 139.1 kB / 0.9764 GB, free: 81.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008923/2.394, allocations: 4.531 MB / 0.9808 GB, free: 81 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001735/2.396, allocations: 35.64 kB / 0.9809 GB, free: 80.97 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002549/2.398, allocations: 4.47 MB / 0.9852 GB, free: 78.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003273/2.401, allocations: 2.665 MB / 0.9878 GB, free: 76.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006596/2.402, allocations: 0 / 0.9878 GB, free: 76.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004402/2.403, allocations: 0.6464 MB / 0.9885 GB, free: 75.65 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006127/2.409, allocations: 4.36 MB / 0.9927 GB, free: 73.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007893/2.417, allocations: 6.135 MB / 0.9987 GB, free: 69.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/2.427, allocations: 5.771 MB / 1.004 GB, free: 67.49 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001154/2.427, allocations: 15.31 kB / 1.004 GB, free: 67.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=1109) (initialization): time 0.03305/2.46, allocations: 14.01 MB / 1.018 GB, free: 62.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/2.46, allocations: 4.938 kB / 1.018 GB, free: 62.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002199/2.461, allocations: 53 kB / 1.018 GB, free: 62.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008881/2.47, allocations: 3.108 MB / 1.021 GB, free: 61.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007804/2.477, allocations: 1.547 MB / 1.023 GB, free: 61.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04669/2.524, allocations: 42.08 MB / 1.064 GB, free: 31.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008543/2.533, allocations: 147.3 kB / 1.064 GB, free: 31.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002152/2.535, allocations: 337.3 kB / 1.064 GB, free: 31.35 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * Number of states: 0 () * Number of discrete variables: 5 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (866): * Single equations (assignments): 848 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 15 {(8,76.6%) 52,(7,87.8%) 57,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,68.8%) 25,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002126/2.537, allocations: 298.5 kB / 1.064 GB, free: 31.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002265/2.539, allocations: 0.6838 MB / 1.065 GB, free: 30.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02622/2.566, allocations: 12.93 MB / 1.078 GB, free: 21.81 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.863e-05/2.566, allocations: 83.09 kB / 1.078 GB, free: 21.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.562e-05/2.566, allocations: 42.97 kB / 1.078 GB, free: 21.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001701/2.566, allocations: 40.12 kB / 1.078 GB, free: 21.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3462/2.912, allocations: 28.42 MB / 1.106 GB, free: 71.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-05/2.912, allocations: 8.969 kB / 1.106 GB, free: 71.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005414/2.918, allocations: 1.043 MB / 1.107 GB, free: 71.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007466/2.925, allocations: 3.166 MB / 1.11 GB, free: 71.49 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001125/2.926, allocations: 77.95 kB / 1.11 GB, free: 71.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04349/2.97, allocations: 38.38 MB / 1.147 GB, free: 59.15 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/2.97, allocations: 6.812 kB / 1.147 GB, free: 59.15 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03253/3.002, allocations: 20.03 MB / 1.167 GB, free: 57.53 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00602/3.008, allocations: 1.849 MB / 1.169 GB, free: 57.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003081/3.012, allocations: 40.89 kB / 1.169 GB, free: 57.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006182/3.018, allocations: 208 kB / 1.169 GB, free: 57.43 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001254/3.019, allocations: 440.9 kB / 1.169 GB, free: 57.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006136/3.02, allocations: 223.2 kB / 1.17 GB, free: 57.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.006236/3.026, allocations: 3.373 MB / 1.173 GB, free: 57.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01283/3.039, allocations: 2.397 MB / 1.175 GB, free: 57.25 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 22 (aimc0.is[2],aimc0.is[3],aimc0.is[4],aimc0.is[5],aimc0.inertiaRotor.w,aimc0.stator.core.Phi.im,aimc0.airGap.Phi_ss.re,quadraticLoadTorque0.phi,aimcH.is[2],aimcH.is[3],aimcH.is[4],aimcH.is[5],aimcH.inertiaRotor.w,aimcH.stator.electroMagneticConverter.Phi.re,aimcH.stator.core.Phi.im,quadraticLoadTorqueH.phi,aimc1.inertiaRotor.w,aimc1.stator.core.Phi.re,aimc1.stator.core.Phi.im,aimc1.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimc1.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorque1.phi) * Number of discrete variables: 5 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (566): * Single equations (assignments): 556 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(8,79.7%) 51,(1,100.0%) 1,(3,100.0%) 22,(8,85.9%) 55,(1,100.0%) 1,(3,100.0%) 22,(6,75.0%) 51,(1,100.0%) 1,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002504/3.041, allocations: 0.5416 MB / 1.176 GB, free: 57.13 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02462/3.066, allocations: 13.27 MB / 1.189 GB, free: 53.96 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/3.066, allocations: 2.219 kB / 1.189 GB, free: 53.96 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01579/3.082, allocations: 7.633 MB / 1.196 GB, free: 50.49 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01037/3.092, allocations: 1.189 MB / 1.197 GB, free: 50.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.066/3.158, allocations: 22.97 MB / 1.22 GB, free: 41.28 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0175/3.176, allocations: 8.905 MB / 1.228 GB, free: 38.54 MB / 474.7 MB Notification: Performance of SimCode: time 8.52e-07/3.176, allocations: 0 / 1.228 GB, free: 38.54 MB / 474.7 MB Notification: Performance of Templates: time 0.4316/3.607, allocations: 132.5 MB / 1.358 GB, free: 66.45 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe 2>&1)