Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_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.0009948/0.0009948, allocations: 199.4 kB / 18.06 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 226.5 MB / 245.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008136/0.0008136, allocations: 95.56 kB / 297.4 MB, free: 6.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002396/0.0002396, allocations: 4 kB / 357.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2118, allocations: 51.3 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3104/0.5223, allocations: 116 MB / 0.5124 GB, free: 98.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.5226, allocations: 112.8 kB / 0.5125 GB, free: 98.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8445/1.367, allocations: 312.6 MB / 0.8178 GB, free: 6.703 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.547e-06/1.367, allocations: 0 / 0.8178 GB, free: 6.703 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009859/1.368, allocations: 302.3 kB / 0.8181 GB, free: 6.414 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.04031/1.408, allocations: 13.23 MB / 0.831 GB, free: 9.133 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/1.409, allocations: 8.031 kB / 0.831 GB, free: 9.125 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01885/1.427, allocations: 3.319 MB / 0.8343 GB, free: 5.797 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2774/1.705, allocations: 10.45 MB / 0.8445 GB, free: 27.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001139/1.706, allocations: 0.9762 MB / 0.8455 GB, free: 27.13 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005587/1.712, allocations: 1.311 MB / 0.8467 GB, free: 27.13 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04739/1.759, allocations: 18.84 MB / 0.8651 GB, free: 25.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004508/1.76, allocations: 15.16 kB / 0.8651 GB, free: 25.96 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003015/1.763, allocations: 0.5457 MB / 0.8657 GB, free: 25.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004536/1.763, allocations: 0.6162 MB / 0.8663 GB, free: 25.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03409/1.797, allocations: 16.09 MB / 0.882 GB, free: 25.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1031/1.9, allocations: 59.71 MB / 0.9403 GB, free: 2.684 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03197/1.932, allocations: 34.4 MB / 0.9739 GB, free: 6.984 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01088/1.943, allocations: 6.961 MB / 0.9807 GB, free: 4.273 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04063/1.984, allocations: 19.57 MB / 0.9998 GB, free: 10.81 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.628e-05/1.984, allocations: 100.4 kB / 0.9999 GB, free: 10.73 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=600): time 8.336e-06/1.984, allocations: 2.625 kB / 0.9999 GB, free: 10.73 MB / 0.4949 GB Notification: Performance of matching and sorting (n=713): time 0.346/2.33, allocations: 34.51 MB / 1.034 GB, free: 84.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/2.33, allocations: 134.4 kB / 1.034 GB, free: 84.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/2.341, allocations: 6.354 MB / 1.04 GB, free: 84.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001206/2.342, allocations: 145.8 kB / 1.04 GB, free: 84.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003869/2.346, allocations: 5.566 MB / 1.046 GB, free: 83.74 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002351/2.349, allocations: 2.397 MB / 1.048 GB, free: 82.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006177/2.349, allocations: 154.8 kB / 1.048 GB, free: 82.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003472/2.35, allocations: 0.6126 MB / 1.049 GB, free: 81.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005935/2.356, allocations: 3.955 MB / 1.052 GB, free: 81.87 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008446/2.364, allocations: 5.754 MB / 1.058 GB, free: 79.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01553/2.38, allocations: 10.43 MB / 1.068 GB, free: 78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001184/2.38, allocations: 16.44 kB / 1.068 GB, free: 78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02393/2.404, allocations: 13.36 MB / 1.081 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.467e-05/2.404, allocations: 26 kB / 1.081 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.631e-05/2.404, allocations: 50 kB / 1.081 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007156/2.411, allocations: 3.053 MB / 1.084 GB, free: 76.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005671/2.417, allocations: 1.37 MB / 1.086 GB, free: 76.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04076/2.458, allocations: 44.59 MB / 1.129 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006237/2.464, allocations: 329.2 kB / 1.13 GB, free: 50.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00139/2.465, allocations: 304 kB / 1.13 GB, free: 50.29 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.0096/2.475, allocations: 4.48 MB / 1.134 GB, free: 48.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001807/2.477, allocations: 0.7207 MB / 1.135 GB, free: 47.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02133/2.498, allocations: 12.2 MB / 1.147 GB, free: 42.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-05/2.498, allocations: 69.69 kB / 1.147 GB, free: 42.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001146/2.498, allocations: 40.5 kB / 1.147 GB, free: 42.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001376/2.498, allocations: 39.48 kB / 1.147 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04595/2.544, allocations: 27.38 MB / 1.174 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.677e-05/2.544, allocations: 7.438 kB / 1.174 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003628/2.548, allocations: 0.8582 MB / 1.175 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007172/2.555, allocations: 3.354 MB / 1.178 GB, free: 29.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000842/2.556, allocations: 200.3 kB / 1.178 GB, free: 29.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04455/2.601, allocations: 45.13 MB / 1.222 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/2.601, allocations: 7.938 kB / 1.222 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3205/2.921, allocations: 18.01 MB / 1.24 GB, free: 86.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004936/2.926, allocations: 1.779 MB / 1.241 GB, free: 86.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002426/2.929, allocations: 174.1 kB / 1.242 GB, free: 86.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005201/2.934, allocations: 341.1 kB / 1.242 GB, free: 86.58 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001903/2.936, allocations: 0.571 MB / 1.242 GB, free: 86.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007164/2.937, allocations: 193.7 kB / 1.243 GB, free: 86.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008531/2.945, allocations: 4.334 MB / 1.247 GB, free: 86.35 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.123e-06/2.945, allocations: 0 / 1.247 GB, free: 86.35 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01217/2.957, allocations: 2.73 MB / 1.25 GB, free: 86.35 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.002169/2.959, allocations: 0.6696 MB / 1.25 GB, free: 86.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01926/2.979, allocations: 13.13 MB / 1.263 GB, free: 83.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/2.979, allocations: 5.75 kB / 1.263 GB, free: 83.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01268/2.991, allocations: 8.252 MB / 1.271 GB, free: 82.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01559/3.007, allocations: 1.901 MB / 1.273 GB, free: 82.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04461/3.052, allocations: 30.83 MB / 1.303 GB, free: 70.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009515/3.061, allocations: 8.119 MB / 1.311 GB, free: 69.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002367/3.064, allocations: 0.5114 MB / 1.311 GB, free: 69.12 MB / 0.5261 GB Notification: Performance of SimCode: time 8.32e-07/3.064, allocations: 0 / 1.311 GB, free: 69.12 MB / 0.5261 GB Notification: Performance of Templates: time 2.77/5.834, allocations: 1.226 GB / 2.537 GB, free: 52.86 MB / 0.5574 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage --alarm=480 > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe 2>&1)