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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009416/0.0009416, allocations: 95.77 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001698/0.001698, allocations: 205.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002567/0.0002568, allocations: 4 kB / 306.7 MB, free: 1.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1078, allocations: 51.49 MB / 358.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_CommonLeakage): time 0.2387/0.3466, allocations: 27.28 MB / 385.5 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02107/0.3677, allocations: 8.612 MB / 394.1 MB, free: 1.137 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008433/0.3762, allocations: 211.6 kB / 394.3 MB, free: 1.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007237/0.3835, allocations: 1.674 MB / 396 MB, free: 184 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01492/0.3984, allocations: 2.772 MB / 398.8 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007035/0.4055, allocations: 1.307 MB / 400.1 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0237/0.4292, allocations: 11.05 MB / 411.1 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0169/0.4461, allocations: 9.794 MB / 420.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01144/0.4576, allocations: 4.87 MB / 425.8 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01413/0.4718, allocations: 5.832 MB / 431.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004781/0.4766, allocations: 0.8477 MB / 432.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006901/0.4835, allocations: 1.035 MB / 433.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005823/0.4894, allocations: 3.014 MB / 436.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00678/0.4962, allocations: 2.979 MB / 439.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02867/0.5249, allocations: 23.58 MB / 463.1 MB, free: 3.617 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.525, allocations: 0 / 463.1 MB, free: 3.617 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.057e-06/0.525, allocations: 0 / 463.1 MB, free: 3.617 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001286/0.5263, allocations: 0 / 463.1 MB, free: 3.617 MB / 366.1 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.04723/0.5735, allocations: 14.47 MB / 477.5 MB, free: 5.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.5736, allocations: 12.03 kB / 477.6 MB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006279/0.5799, allocations: 1.822 MB / 479.4 MB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02337/0.6032, allocations: 3.71 MB / 483.1 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02105/0.6243, allocations: 9.007 MB / 492.1 MB, free: 6.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001049/0.6254, allocations: 0.9872 MB / 493.1 MB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004193/0.6296, allocations: 1.316 MB / 494.4 MB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06/0.6896, allocations: 19.21 MB / 0.5016 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006345/0.6903, allocations: 11.89 kB / 0.5016 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004441/0.6948, allocations: 0.5351 MB / 0.5021 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009424/0.6958, allocations: 0.636 MB / 0.5027 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0377/0.7335, allocations: 17 MB / 0.5193 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.471/1.205, allocations: 59.58 MB / 0.5775 GB, free: 93.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02721/1.232, allocations: 34.28 MB / 0.611 GB, free: 62.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03/1.262, allocations: 19.14 MB / 0.6297 GB, free: 44.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.622e-05/1.262, allocations: 103.4 kB / 0.6298 GB, free: 44.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=613): time 7.574e-06/1.262, allocations: 0 / 0.6298 GB, free: 44.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=804): time 0.08216/1.344, allocations: 40.32 MB / 0.6692 GB, free: 4.137 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/1.344, allocations: 133.7 kB / 0.6693 GB, free: 3.992 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0094/1.354, allocations: 6.265 MB / 0.6754 GB, free: 13.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001455/1.355, allocations: 161.7 kB / 0.6756 GB, free: 13.56 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004892/1.36, allocations: 5.535 MB / 0.681 GB, free: 7.992 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003994/1.364, allocations: 2.687 MB / 0.6836 GB, free: 5.328 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006794/1.365, allocations: 176 kB / 0.6838 GB, free: 5.156 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0004465/1.365, allocations: 0.6338 MB / 0.6844 GB, free: 4.516 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0075/1.373, allocations: 4.452 MB / 0.6887 GB, free: 56 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0094/1.382, allocations: 6.247 MB / 0.6948 GB, free: 9.086 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009686/1.392, allocations: 5.612 MB / 0.7003 GB, free: 3.457 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.962e-05/1.392, allocations: 12 kB / 0.7003 GB, free: 3.445 MB / 478.1 MB Notification: Performance of matching and sorting (n=1081) (initialization): time 0.02801/1.42, allocations: 15.06 MB / 0.715 GB, free: 4.273 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.562e-05/1.42, allocations: 24 kB / 0.715 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-05/1.42, allocations: 52 kB / 0.7151 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009712/1.43, allocations: 3.775 MB / 0.7188 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2411/1.671, allocations: 1.463 MB / 0.7202 GB, free: 159.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05668/1.728, allocations: 55.3 MB / 0.7742 GB, free: 122.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006317/1.734, allocations: 349.5 kB / 0.7745 GB, free: 122.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009053/1.735, allocations: 322 kB / 0.7749 GB, free: 122.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 226 * Number of states: 0 () * Number of discrete variables: 5 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (779): * Single equations (assignments): 759 * 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: 17 * 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: 17 {(6,75.0%) 51,(8,64.1%) 47,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(8,78.1%) 51,(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,75.0%) 25,(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.007819/1.743, allocations: 4.589 MB / 0.7793 GB, free: 120.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/1.744, allocations: 0.7483 MB / 0.7801 GB, free: 120.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01925/1.764, allocations: 13.71 MB / 0.7935 GB, free: 110.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.18e-05/1.764, allocations: 79.98 kB / 0.7935 GB, free: 110.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.573e-05/1.764, allocations: 44 kB / 0.7936 GB, free: 110.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.796e-05/1.764, allocations: 40.98 kB / 0.7936 GB, free: 110.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04238/1.806, allocations: 29.87 MB / 0.8228 GB, free: 80.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.727e-05/1.806, allocations: 4 kB / 0.8228 GB, free: 80.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004438/1.811, allocations: 1.058 MB / 0.8238 GB, free: 79.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00703/1.818, allocations: 3.499 MB / 0.8272 GB, free: 75.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001121/1.819, allocations: 207.9 kB / 0.8274 GB, free: 75.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04337/1.862, allocations: 48.47 MB / 0.8748 GB, free: 25.81 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.862, allocations: 7.938 kB / 0.8748 GB, free: 25.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0254/1.888, allocations: 20.74 MB / 0.895 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005489/1.893, allocations: 1.89 MB / 0.8969 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00221/1.896, allocations: 180.1 kB / 0.8971 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005057/1.901, allocations: 355.8 kB / 0.8974 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001547/1.902, allocations: 0.636 MB / 0.898 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000483/1.903, allocations: 215.9 kB / 0.8982 GB, free: 1.383 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.2278/2.13, allocations: 4.269 MB / 0.9024 GB, free: 143 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.31e-07/2.131, allocations: 0 / 0.9024 GB, free: 143 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01294/2.143, allocations: 2.804 MB / 0.9051 GB, free: 143 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 22 (idealCloserM.idealClosingSwitch[1].s,idealCloserM.idealClosingSwitch[2].s,idealCloserM.idealClosingSwitch[3].s,idealCloserM.idealClosingSwitch[4].s,idealCloserM.idealClosingSwitch[5].s,aimc0.inertiaRotor.w,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,quadraticLoadTorque1.phi) * Number of discrete variables: 5 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (512): * Single equations (assignments): 500 * 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 {(6,75.0%) 50,(8,64.1%) 46,(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 22,(3,100.0%) 22,(1,100.0%) 1,(3,100.0%) 29,(8,78.1%) 51,(1,100.0%) 1,(3,100.0%) 22,(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03908/2.183, allocations: 22.42 MB / 0.927 GB, free: 137.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02376/2.206, allocations: 15.04 MB / 0.9417 GB, free: 130.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/2.206, allocations: 4 kB / 0.9417 GB, free: 130.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01469/2.221, allocations: 9.03 MB / 0.9505 GB, free: 124.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009852/2.231, allocations: 1.839 MB / 0.9523 GB, free: 123.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.203/2.434, allocations: 125.1 MB / 1.074 GB, free: 12.45 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01457/2.449, allocations: 8.699 MB / 1.083 GB, free: 3.707 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.008116/2.457, allocations: 2.005 MB / 1.085 GB, free: 1.695 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2368/2.694, allocations: 5.23 MB / 1.09 GB, free: 146.1 MB / 0.4982 GB Notification: Performance of SimCode: time 1.363e-06/2.694, allocations: 1.062 kB / 1.09 GB, free: 146.1 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8868/3.581, allocations: 227.2 MB / 1.312 GB, free: 137.7 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/3.581, allocations: 279 kB / 1.312 GB, free: 137.3 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.366/11.95, allocations: 0 / 1.312 GB, free: 137.3 MB / 0.5138 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)