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.001143/0.001143, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008537/0.0008537, allocations: 89.25 kB / 292.1 MB, free: 6.035 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.203e-05/4.205e-05, allocations: 7.984 kB / 350.7 MB, free: 2.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 51.49 MB / 402.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3775/0.4887, allocations: 115.9 MB / 0.5059 GB, free: 6.164 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.489, allocations: 107.3 kB / 0.506 GB, free: 6.105 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.188/1.677, allocations: 314 MB / 0.8126 GB, free: 33.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.703e-06/1.678, allocations: 0 / 0.8126 GB, free: 33.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001174/1.679, allocations: 302.5 kB / 0.8129 GB, free: 33.87 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.04095/1.72, allocations: 12.3 MB / 0.8249 GB, free: 29.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/1.72, allocations: 12 kB / 0.825 GB, free: 29.84 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007906/1.728, allocations: 1.818 MB / 0.8267 GB, free: 29.71 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02051/1.748, allocations: 3.296 MB / 0.8299 GB, free: 28.95 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02954/1.778, allocations: 11.14 MB / 0.8408 GB, free: 27.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001004/1.779, allocations: 0.9793 MB / 0.8418 GB, free: 27.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004944/1.784, allocations: 1.312 MB / 0.8431 GB, free: 27.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04905/1.833, allocations: 18.45 MB / 0.8611 GB, free: 20.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006395/1.834, allocations: 10.59 kB / 0.8611 GB, free: 20.26 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004553/1.838, allocations: 0.5479 MB / 0.8616 GB, free: 19.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004962/1.839, allocations: 0.6167 MB / 0.8622 GB, free: 19.78 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04489/1.884, allocations: 15.7 MB / 0.8776 GB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4498/2.333, allocations: 59.77 MB / 0.9359 GB, free: 27.86 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04923/2.383, allocations: 34.13 MB / 0.9693 GB, free: 21.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01684/2.4, allocations: 6.817 MB / 0.9759 GB, free: 20.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05882/2.458, allocations: 19.24 MB / 0.9947 GB, free: 34.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.955e-05/2.459, allocations: 101.8 kB / 0.9948 GB, free: 34.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=590): time 1.137e-05/2.459, allocations: 0 / 0.9948 GB, free: 34.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=703): time 0.07468/2.533, allocations: 25.06 MB / 1.019 GB, free: 29.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/2.533, allocations: 128.1 kB / 1.019 GB, free: 29.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01667/2.55, allocations: 5.599 MB / 1.025 GB, free: 27.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001813/2.552, allocations: 149 kB / 1.025 GB, free: 27.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005586/2.558, allocations: 5.583 MB / 1.03 GB, free: 23.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004467/2.562, allocations: 2.36 MB / 1.033 GB, free: 21.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009954/2.563, allocations: 155.1 kB / 1.033 GB, free: 21.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007016/2.564, allocations: 0.6016 MB / 1.033 GB, free: 20.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01078/2.575, allocations: 3.804 MB / 1.037 GB, free: 19.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01437/2.589, allocations: 5.565 MB / 1.043 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01412/2.603, allocations: 4.923 MB / 1.047 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/2.604, allocations: 11.16 kB / 1.047 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=983) (initialization): time 0.04377/2.647, allocations: 13.02 MB / 1.06 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/2.647, allocations: 26.81 kB / 1.06 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001498/2.648, allocations: 48.41 kB / 1.06 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01297/2.661, allocations: 2.994 MB / 1.063 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008112/2.669, allocations: 1.357 MB / 1.065 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05307/2.722, allocations: 44.29 MB / 1.108 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007192/2.729, allocations: 320.3 kB / 1.108 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/2.731, allocations: 302.3 kB / 1.108 GB, free: 1.375 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (746): * Single equations (assignments): 728 * 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 {(5,100.0%) 52,(5,100.0%) 56,(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.001876/2.733, allocations: 0.5401 MB / 1.109 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001837/2.734, allocations: 0.719 MB / 1.11 GB, free: 204 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3474/3.082, allocations: 11.98 MB / 1.121 GB, free: 99.89 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.816e-05/3.082, allocations: 66.41 kB / 1.121 GB, free: 99.89 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-05/3.082, allocations: 40.06 kB / 1.121 GB, free: 99.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001029/3.082, allocations: 31.88 kB / 1.121 GB, free: 99.89 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05571/3.138, allocations: 26.82 MB / 1.148 GB, free: 98.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.107e-05/3.138, allocations: 5.594 kB / 1.148 GB, free: 98.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004673/3.143, allocations: 0.8634 MB / 1.148 GB, free: 98.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008221/3.151, allocations: 3.114 MB / 1.151 GB, free: 98.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001411/3.152, allocations: 177 kB / 1.152 GB, free: 98.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04809/3.2, allocations: 40.44 MB / 1.191 GB, free: 80.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/3.201, allocations: 13.09 kB / 1.191 GB, free: 80.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02881/3.229, allocations: 17.81 MB / 1.209 GB, free: 71.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00614/3.236, allocations: 1.763 MB / 1.21 GB, free: 71.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002805/3.238, allocations: 152.3 kB / 1.21 GB, free: 71.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004899/3.243, allocations: 332.9 kB / 1.211 GB, free: 71.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001585/3.245, allocations: 0.5551 MB / 1.211 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005601/3.245, allocations: 192.6 kB / 1.211 GB, free: 70.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0094/3.255, allocations: 4.259 MB / 1.216 GB, free: 69.24 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/3.255, allocations: 2.688 kB / 1.216 GB, free: 69.24 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01442/3.269, allocations: 2.703 MB / 1.218 GB, free: 68.95 MB / 0.5261 GB 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 (446): * Single equations (assignments): 436 * 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,67.2%) 48,(1,100.0%) 1,(3,100.0%) 22,(8,82.8%) 52,(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.03454/3.304, allocations: 20.04 MB / 1.238 GB, free: 58.87 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02/3.324, allocations: 12.64 MB / 1.25 GB, free: 52.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/3.324, allocations: 6.844 kB / 1.25 GB, free: 52.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01238/3.336, allocations: 7.684 MB / 1.258 GB, free: 46.08 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0104/3.347, allocations: 1.829 MB / 1.259 GB, free: 44.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05694/3.404, allocations: 25.68 MB / 1.285 GB, free: 22.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01171/3.416, allocations: 8.532 MB / 1.293 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008116/3.424, allocations: 1.904 MB / 1.295 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3349/3.759, allocations: 5.906 MB / 1.301 GB, free: 84.63 MB / 0.5261 GB Notification: Performance of SimCode: time 1.953e-06/3.759, allocations: 0 / 1.301 GB, free: 84.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6643/4.423, allocations: 223 MB / 1.518 GB, free: 67.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003007/4.423, allocations: 254.2 kB / 1.519 GB, free: 67.35 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/15.6, allocations: 3.953 kB / 1.519 GB, free: 67.34 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)