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.001284/0.001284, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001089/0.001089, allocations: 97.94 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.515e-05/2.521e-05, allocations: 0 / 343.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1333, allocations: 51.49 MB / 395.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3878/0.5212, allocations: 115.2 MB / 0.4986 GB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.5215, allocations: 105.5 kB / 0.4987 GB, free: 10.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.185/1.706, allocations: 310.2 MB / 0.8016 GB, free: 35.77 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.294e-06/1.706, allocations: 1.406 kB / 0.8016 GB, free: 35.77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001823/1.708, allocations: 304 kB / 0.8019 GB, free: 35.75 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.04697/1.755, allocations: 12.28 MB / 0.8139 GB, free: 31.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.755, allocations: 11.12 kB / 0.8139 GB, free: 31.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02196/1.777, allocations: 3.3 MB / 0.8172 GB, free: 30.97 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03359/1.811, allocations: 11.13 MB / 0.828 GB, free: 29.55 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001504/1.812, allocations: 431.6 kB / 0.8284 GB, free: 29.55 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008061/1.82, allocations: 0.7836 MB / 0.8292 GB, free: 29.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04202/1.862, allocations: 14.9 MB / 0.8438 GB, free: 29.48 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05628/1.919, allocations: 16.5 MB / 0.8599 GB, free: 22.42 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007752/1.92, allocations: 19.67 kB / 0.8599 GB, free: 22.41 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004705/1.924, allocations: 7.312 kB / 0.8599 GB, free: 22.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006365/1.925, allocations: 0.6184 MB / 0.8605 GB, free: 22.36 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4873/2.412, allocations: 57.38 MB / 0.9165 GB, free: 47.33 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03202/2.444, allocations: 33.79 MB / 0.9495 GB, free: 24.69 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0117/2.456, allocations: 6.544 MB / 0.9559 GB, free: 24.53 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03814/2.494, allocations: 18.77 MB / 0.9742 GB, free: 22.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.721e-05/2.494, allocations: 100.8 kB / 0.9743 GB, free: 22.29 MB / 474.7 MB Notification: Performance of pre-optimization done (n=590): time 8.666e-06/2.494, allocations: 6.906 kB / 0.9744 GB, free: 22.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=703): time 0.08137/2.576, allocations: 28.52 MB / 1.002 GB, free: 18.79 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/2.576, allocations: 128.9 kB / 1.002 GB, free: 18.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008211/2.584, allocations: 4.473 MB / 1.007 GB, free: 17 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001351/2.586, allocations: 25.7 kB / 1.007 GB, free: 16.96 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003863/2.589, allocations: 5.566 MB / 1.012 GB, free: 12.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002916/2.592, allocations: 2.267 MB / 1.014 GB, free: 11.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005729/2.593, allocations: 0 / 1.014 GB, free: 11.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003432/2.593, allocations: 0.6066 MB / 1.015 GB, free: 10.59 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005306/2.599, allocations: 3.648 MB / 1.019 GB, free: 8.969 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007107/2.606, allocations: 5.375 MB / 1.024 GB, free: 5.316 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01334/2.619, allocations: 6.106 MB / 1.03 GB, free: 3.066 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001269/2.619, allocations: 14.38 kB / 1.03 GB, free: 3.066 MB / 474.7 MB Notification: Performance of matching and sorting (n=983) (initialization): time 0.03194/2.651, allocations: 13.73 MB / 1.043 GB, free: 15.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.019e-05/2.651, allocations: 25.12 kB / 1.043 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/2.652, allocations: 51.94 kB / 1.043 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007126/2.659, allocations: 2.986 MB / 1.046 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006113/2.665, allocations: 1.354 MB / 1.047 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0501/2.715, allocations: 42.85 MB / 1.089 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006858/2.722, allocations: 168.9 kB / 1.089 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/2.724, allocations: 306.7 kB / 1.09 GB, free: 13.47 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 () * 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 {(7,85.7%) 50,(8,78.1%) 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.001401/2.725, allocations: 276.7 kB / 1.09 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02646/2.751, allocations: 11.61 MB / 1.101 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002684/2.754, allocations: 0.6495 MB / 1.102 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.372/3.126, allocations: 12.98 MB / 1.115 GB, free: 84.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.884e-05/3.126, allocations: 64.94 kB / 1.115 GB, free: 84.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.053e-05/3.126, allocations: 39.28 kB / 1.115 GB, free: 84.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001038/3.127, allocations: 32.44 kB / 1.115 GB, free: 84.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05266/3.179, allocations: 25.61 MB / 1.14 GB, free: 83.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.037e-05/3.179, allocations: 4.375 kB / 1.14 GB, free: 83.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004447/3.184, allocations: 0.8626 MB / 1.141 GB, free: 83.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008219/3.192, allocations: 3.055 MB / 1.144 GB, free: 83.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001184/3.193, allocations: 72.02 kB / 1.144 GB, free: 83.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04454/3.238, allocations: 39.15 MB / 1.182 GB, free: 69.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/3.238, allocations: 9.781 kB / 1.182 GB, free: 69.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03272/3.271, allocations: 18.28 MB / 1.2 GB, free: 61.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004984/3.276, allocations: 1.661 MB / 1.201 GB, free: 60.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002187/3.278, allocations: 45.98 kB / 1.201 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004809/3.283, allocations: 220.3 kB / 1.202 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001458/3.284, allocations: 0.5581 MB / 1.202 GB, free: 60.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004805/3.285, allocations: 194.1 kB / 1.202 GB, free: 60.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005514/3.29, allocations: 3.324 MB / 1.206 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/3.29, allocations: 0 / 1.206 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01112/3.301, allocations: 2.35 MB / 1.208 GB, free: 59.4 MB / 0.5105 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.03344/3.335, allocations: 20.34 MB / 1.228 GB, free: 49.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01721/3.352, allocations: 12.22 MB / 1.24 GB, free: 43.51 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.569e-05/3.352, allocations: 3.469 kB / 1.24 GB, free: 43.51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01139/3.363, allocations: 7.378 MB / 1.247 GB, free: 39.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008585/3.372, allocations: 1.238 MB / 1.248 GB, free: 39.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0614/3.434, allocations: 24.87 MB / 1.272 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01232/3.446, allocations: 8.532 MB / 1.281 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007577/3.454, allocations: 1.798 MB / 1.283 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008103/3.462, allocations: 5.09 MB / 1.288 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of SimCode: time 1.593e-06/3.462, allocations: 0 / 1.288 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6146/4.076, allocations: 193 MB / 1.476 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/4.077, allocations: 228.2 kB / 1.476 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.619/13.7, allocations: 7.078 kB / 1.476 GB, free: 13.83 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)