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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_CommonLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_CommonLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000916/0.0009159, allocations: 93.34 kB / 297.2 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002187/0.0002188, allocations: 8 kB / 358 MB, free: 9.402 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1989, allocations: 51.47 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3258/0.5248, allocations: 116 MB / 0.5132 GB, free: 46.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.5251, allocations: 107.3 kB / 0.5133 GB, free: 46.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8562/1.381, allocations: 313.8 MB / 0.8198 GB, free: 24.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.381, allocations: 0 / 0.8198 GB, free: 24.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009853/1.382, allocations: 302.7 kB / 0.82 GB, free: 24.14 MB / 458.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.04341/1.426, allocations: 13.37 MB / 0.8331 GB, free: 10.72 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/1.426, allocations: 14.16 kB / 0.8331 GB, free: 10.71 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008103/1.434, allocations: 1.84 MB / 0.8349 GB, free: 8.863 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02015/1.454, allocations: 3.311 MB / 0.8381 GB, free: 5.543 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02978/1.484, allocations: 11.18 MB / 0.8491 GB, free: 10.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001275/1.485, allocations: 0.9795 MB / 0.85 GB, free: 9.383 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006299/1.492, allocations: 1.316 MB / 0.8513 GB, free: 8.066 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3658/1.857, allocations: 18.73 MB / 0.8696 GB, free: 36.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007651/1.858, allocations: 20.52 kB / 0.8696 GB, free: 36.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004236/1.862, allocations: 0.5489 MB / 0.8701 GB, free: 36.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007304/1.863, allocations: 0.6097 MB / 0.8707 GB, free: 36.46 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03499/1.898, allocations: 16.08 MB / 0.8864 GB, free: 36.35 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1088/2.007, allocations: 59.65 MB / 0.9447 GB, free: 20.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03201/2.039, allocations: 34.34 MB / 0.9782 GB, free: 8.211 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04237/2.082, allocations: 19.53 MB / 0.9973 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/2.082, allocations: 100.1 kB / 0.9974 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=613): time 1.108e-05/2.082, allocations: 0 / 0.9974 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=725): time 0.08931/2.171, allocations: 34.81 MB / 1.031 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/2.171, allocations: 133.1 kB / 1.032 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01444/2.186, allocations: 5.646 MB / 1.037 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001515/2.187, allocations: 146.7 kB / 1.037 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005055/2.192, allocations: 5.532 MB / 1.043 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003309/2.196, allocations: 2.436 MB / 1.045 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/2.197, allocations: 156 kB / 1.045 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000736/2.198, allocations: 0.6084 MB / 1.046 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009281/2.207, allocations: 4.172 MB / 1.05 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2758/2.483, allocations: 5.747 MB / 1.055 GB, free: 83.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007606/2.491, allocations: 5.099 MB / 1.06 GB, free: 83.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.288e-05/2.491, allocations: 14.28 kB / 1.06 GB, free: 83.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=997) (initialization): time 0.02381/2.514, allocations: 13.43 MB / 1.073 GB, free: 82.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.995e-05/2.515, allocations: 25.38 kB / 1.074 GB, free: 82.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/2.515, allocations: 49.84 kB / 1.074 GB, free: 82.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006643/2.521, allocations: 3.046 MB / 1.077 GB, free: 82.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005795/2.527, allocations: 1.396 MB / 1.078 GB, free: 82.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04157/2.569, allocations: 45.6 MB / 1.122 GB, free: 63.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006667/2.575, allocations: 326.6 kB / 1.123 GB, free: 63.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001166/2.577, allocations: 304.5 kB / 1.123 GB, free: 63.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 223 * 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 (764): * Single equations (assignments): 746 * 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%) 47,(6,88.9%) 53,(1,100.0%) 1,(3,100.0%) 23,(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.009143/2.586, allocations: 4.475 MB / 1.127 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001696/2.587, allocations: 0.7285 MB / 1.128 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01925/2.607, allocations: 12.34 MB / 1.14 GB, free: 57.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.462e-05/2.607, allocations: 68.75 kB / 1.14 GB, free: 57.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.737e-05/2.607, allocations: 42.62 kB / 1.14 GB, free: 57.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.231e-05/2.607, allocations: 37.72 kB / 1.14 GB, free: 57.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04286/2.65, allocations: 27.17 MB / 1.167 GB, free: 45.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.371e-05/2.65, allocations: 9.469 kB / 1.167 GB, free: 45.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003896/2.654, allocations: 0.8913 MB / 1.168 GB, free: 45.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007414/2.661, allocations: 3.346 MB / 1.171 GB, free: 44.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009846/2.662, allocations: 203.7 kB / 1.171 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04373/2.706, allocations: 46.76 MB / 1.217 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/2.706, allocations: 20.39 kB / 1.217 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03147/2.737, allocations: 19.06 MB / 1.235 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006254/2.744, allocations: 1.793 MB / 1.237 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002761/2.747, allocations: 182.3 kB / 1.237 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005563/2.752, allocations: 334.2 kB / 1.238 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00198/2.754, allocations: 0.5874 MB / 1.238 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009561/2.755, allocations: 205.5 kB / 1.238 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01119/2.766, allocations: 4.307 MB / 1.243 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.9e-07/2.766, allocations: 0 / 1.243 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01565/2.782, allocations: 2.75 MB / 1.245 GB, free: 0 / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 22 (aimc0.inertiaRotor.w,aimc0.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re,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,quadraticLoadTorque0.phi,aimcH.inertiaRotor.w,aimcH.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re,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,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 (452): * Single equations (assignments): 440 * 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 {(7,85.7%) 48,(3,100.0%) 22,(8,82.8%) 51,(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.3224/3.105, allocations: 21.54 MB / 1.266 GB, free: 84.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02006/3.125, allocations: 13.19 MB / 1.279 GB, free: 82.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/3.125, allocations: 2.062 kB / 1.279 GB, free: 82.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01372/3.138, allocations: 8.383 MB / 1.287 GB, free: 80.78 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009819/3.148, allocations: 1.834 MB / 1.289 GB, free: 80.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1817/3.33, allocations: 120.5 MB / 1.407 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01523/3.345, allocations: 8.528 MB / 1.415 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009427/3.355, allocations: 1.883 MB / 1.417 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01231/3.367, allocations: 5.285 MB / 1.422 GB, free: 0 / 0.5261 GB Notification: Performance of SimCode: time 9.61e-07/3.367, allocations: 1.406 kB / 1.422 GB, free: 0 / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5468/3.914, allocations: 224.5 MB / 1.642 GB, free: 2.059 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/3.914, allocations: 286.5 kB / 1.642 GB, free: 1.691 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.725/12.64, allocations: 0 / 1.642 GB, free: 1.691 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_CommonLeakage_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_CommonLeakage.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage.pipe 2>&1)