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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 226.5 MB / 245.4 MB, free: 6.539 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007722/0.0007722, allocations: 106.4 kB / 297.5 MB, free: 6.707 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002532/0.0002532, allocations: 4 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1946, allocations: 51.3 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2884/0.4831, allocations: 116 MB / 0.5131 GB, free: 98.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.4833, allocations: 106 kB / 0.5132 GB, free: 98.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8203/1.304, allocations: 312.6 MB / 0.8185 GB, free: 6.656 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.236e-06/1.304, allocations: 4 kB / 0.8185 GB, free: 6.652 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.00119/1.305, allocations: 295.1 kB / 0.8188 GB, free: 6.367 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.04129/1.346, allocations: 13.23 MB / 0.8317 GB, free: 9.082 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.346, allocations: 8.031 kB / 0.8317 GB, free: 9.074 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01887/1.365, allocations: 3.316 MB / 0.835 GB, free: 5.75 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2609/1.626, allocations: 10.45 MB / 0.8452 GB, free: 27.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008212/1.627, allocations: 0.9864 MB / 0.8462 GB, free: 27.03 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00413/1.631, allocations: 1.308 MB / 0.8474 GB, free: 27.03 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04381/1.675, allocations: 18.84 MB / 0.8658 GB, free: 25.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004179/1.675, allocations: 18.11 kB / 0.8658 GB, free: 25.86 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002664/1.678, allocations: 0.5443 MB / 0.8664 GB, free: 25.86 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004107/1.678, allocations: 0.6168 MB / 0.867 GB, free: 25.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03341/1.712, allocations: 16.08 MB / 0.8827 GB, free: 25.71 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09925/1.811, allocations: 59.72 MB / 0.941 GB, free: 2.586 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03434/1.846, allocations: 34.43 MB / 0.9746 GB, free: 6.984 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0109/1.857, allocations: 6.964 MB / 0.9814 GB, free: 4.273 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03738/1.894, allocations: 19.56 MB / 1.001 GB, free: 10.81 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.698e-05/1.894, allocations: 98.45 kB / 1.001 GB, free: 10.73 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=600): time 7.884e-06/1.894, allocations: 3.609 kB / 1.001 GB, free: 10.73 MB / 0.4949 GB Notification: Performance of matching and sorting (n=713): time 0.3183/2.212, allocations: 34.57 MB / 1.034 GB, free: 84.42 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/2.212, allocations: 127.8 kB / 1.035 GB, free: 84.35 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/2.224, allocations: 6.351 MB / 1.041 GB, free: 83.99 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001022/2.225, allocations: 147.1 kB / 1.041 GB, free: 83.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003243/2.228, allocations: 5.574 MB / 1.046 GB, free: 83.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001872/2.23, allocations: 2.391 MB / 1.049 GB, free: 82.08 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004567/2.23, allocations: 158.2 kB / 1.049 GB, free: 82.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003067/2.231, allocations: 0.6073 MB / 1.049 GB, free: 81.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005317/2.236, allocations: 3.958 MB / 1.053 GB, free: 81.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00624/2.242, allocations: 5.754 MB / 1.059 GB, free: 79.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01409/2.256, allocations: 10.43 MB / 1.069 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.832e-05/2.256, allocations: 13.47 kB / 1.069 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02128/2.278, allocations: 13.36 MB / 1.082 GB, free: 77.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/2.278, allocations: 29.5 kB / 1.082 GB, free: 77.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.782e-05/2.278, allocations: 51.03 kB / 1.082 GB, free: 77.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006317/2.284, allocations: 3.057 MB / 1.085 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005129/2.289, allocations: 1.365 MB / 1.086 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03854/2.328, allocations: 44.59 MB / 1.13 GB, free: 50.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005653/2.334, allocations: 322.5 kB / 1.13 GB, free: 50.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/2.335, allocations: 308 kB / 1.131 GB, free: 50.23 MB / 0.5105 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 738 * 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,67.2%) 49,(7,73.5%) 54,(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.00756/2.342, allocations: 4.482 MB / 1.135 GB, free: 48.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001408/2.344, allocations: 0.7235 MB / 1.136 GB, free: 47.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01766/2.361, allocations: 12.2 MB / 1.148 GB, free: 42.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.79e-05/2.361, allocations: 65.34 kB / 1.148 GB, free: 42.49 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.958e-05/2.361, allocations: 42.88 kB / 1.148 GB, free: 42.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.343e-05/2.362, allocations: 38 kB / 1.148 GB, free: 42.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04466/2.406, allocations: 27.39 MB / 1.175 GB, free: 30.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-05/2.406, allocations: 5.688 kB / 1.175 GB, free: 30.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003551/2.41, allocations: 0.8566 MB / 1.175 GB, free: 30.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006988/2.417, allocations: 3.352 MB / 1.179 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008856/2.418, allocations: 197 kB / 1.179 GB, free: 29.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04378/2.462, allocations: 45.1 MB / 1.223 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/2.462, allocations: 11.94 kB / 1.223 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2895/2.751, allocations: 18 MB / 1.24 GB, free: 86.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004394/2.756, allocations: 1.777 MB / 1.242 GB, free: 86.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001548/2.757, allocations: 177 kB / 1.242 GB, free: 86.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003757/2.761, allocations: 340.3 kB / 1.243 GB, free: 86.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001263/2.762, allocations: 0.5702 MB / 1.243 GB, free: 86.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004255/2.763, allocations: 192.5 kB / 1.243 GB, free: 86.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006239/2.769, allocations: 4.335 MB / 1.248 GB, free: 86.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/2.769, allocations: 6 kB / 1.248 GB, free: 86.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008783/2.778, allocations: 2.72 MB / 1.25 GB, free: 86.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 22 (aimc0.inertiaRotor.w,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.re,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.im,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorque0.phi,aimcH.inertiaRotor.w,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.re,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[4].Phi.im,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 426 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(8,67.2%) 48,(3,100.0%) 22,(8,82.8%) 52,(3,100.0%) 22,(1,100.0%) 1,(6,75.0%) 51,(1,100.0%) 9,(1,100.0%) 1,(1,100.0%) 9,(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.001365/2.779, allocations: 0.6704 MB / 1.251 GB, free: 86.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01663/2.796, allocations: 13.13 MB / 1.264 GB, free: 83.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/2.796, allocations: 3.938 kB / 1.264 GB, free: 83.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01139/2.807, allocations: 8.26 MB / 1.272 GB, free: 82.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0143/2.821, allocations: 1.899 MB / 1.274 GB, free: 82.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0433/2.865, allocations: 30.85 MB / 1.304 GB, free: 70.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01069/2.875, allocations: 8.307 MB / 1.312 GB, free: 69 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007057/2.883, allocations: 1.848 MB / 1.314 GB, free: 68.78 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001555/2.884, allocations: 466.6 kB / 1.314 GB, free: 68.78 MB / 0.5261 GB Notification: Performance of SimCode: time 9.31e-07/2.884, allocations: 0 / 1.314 GB, free: 68.78 MB / 0.5261 GB Notification: Performance of Templates: time 0.4264/3.311, allocations: 135.2 MB / 1.446 GB, free: 85.27 MB / 0.5261 GB 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)