Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000908/0.000908, allocations: 98.58 kB / 16.95 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 183.7 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004856, allocations: 14.19 kB / 280.9 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1024, allocations: 47.58 MB / 328.5 MB, free: 3.961 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03186/0.1343, allocations: 29.83 MB / 358.3 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02059/0.155, allocations: 8.88 MB / 367.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006675/0.1617, allocations: 203.2 kB / 367.4 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007125/0.1688, allocations: 1.771 MB / 369.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01261/0.1815, allocations: 3.145 MB / 372.3 MB, free: 7.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006803/0.1883, allocations: 1.553 MB / 373.8 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2558/0.4441, allocations: 15.95 MB / 389.8 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03654/0.4807, allocations: 17.69 MB / 407.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009889/0.4907, allocations: 4.906 MB / 412.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01047/0.5012, allocations: 5.618 MB / 418 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003905/0.5052, allocations: 0.7411 MB / 418.7 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007399/0.5126, allocations: 1.106 MB / 419.9 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005081/0.5177, allocations: 2.44 MB / 422.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006764/0.5245, allocations: 2.445 MB / 424.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02645/0.551, allocations: 21.27 MB / 446 MB, free: 1.633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.5511, allocations: 4 kB / 446 MB, free: 1.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.819e-06/0.5511, allocations: 0 / 446 MB, free: 1.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0007271/0.5518, allocations: 4 kB / 446 MB, free: 1.625 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.04009/0.5919, allocations: 12.7 MB / 458.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.592, allocations: 12.03 kB / 458.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007647/0.5997, allocations: 1.57 MB / 460.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04291/0.6426, allocations: 7.733 MB / 468 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01925/0.6619, allocations: 7.239 MB / 475.3 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001224/0.6631, allocations: 0.8185 MB / 476.1 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006013/0.6692, allocations: 1.1 MB / 477.2 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05279/0.722, allocations: 17.78 MB / 495 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007109/0.7228, allocations: 27.73 kB / 495 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004306/0.7271, allocations: 455.4 kB / 495.4 MB, free: 344 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009222/0.728, allocations: 0.6678 MB / 496.1 MB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04348/0.7715, allocations: 16.97 MB / 0.5011 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5525/1.324, allocations: 56.94 MB / 0.5567 GB, free: 96.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02627/1.35, allocations: 42.37 MB / 0.598 GB, free: 60.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00797/1.358, allocations: 4.616 MB / 0.6025 GB, free: 58.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0208/1.379, allocations: 13.22 MB / 0.6154 GB, free: 50.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003912/1.383, allocations: 3.085 MB / 0.6185 GB, free: 48.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=434): time 5.821e-06/1.383, allocations: 0 / 0.6185 GB, free: 48.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=452): time 0.05025/1.433, allocations: 25.35 MB / 0.6432 GB, free: 29.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.434, allocations: 411.4 kB / 0.6436 GB, free: 29.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006214/1.44, allocations: 4.686 MB / 0.6482 GB, free: 24.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001213/1.441, allocations: 101.7 kB / 0.6483 GB, free: 24.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004902/1.446, allocations: 4.9 MB / 0.6531 GB, free: 19.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00183/1.448, allocations: 1.548 MB / 0.6546 GB, free: 18.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005262/1.448, allocations: 128 kB / 0.6547 GB, free: 17.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003527/1.449, allocations: 0.5547 MB / 0.6552 GB, free: 17.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004053/1.453, allocations: 2.866 MB / 0.658 GB, free: 14.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005047/1.458, allocations: 5.283 MB / 0.6632 GB, free: 8.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005363/1.463, allocations: 3.975 MB / 0.6671 GB, free: 4.199 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.992e-05/1.463, allocations: 20 kB / 0.6671 GB, free: 4.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01901/1.482, allocations: 9.844 MB / 0.6767 GB, free: 10.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.689e-05/1.483, allocations: 36 kB / 0.6767 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001492/1.483, allocations: 76 kB / 0.6768 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003984/1.487, allocations: 1.521 MB / 0.6783 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005874/1.493, allocations: 1.404 MB / 0.6797 GB, free: 7.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01972/1.512, allocations: 16.3 MB / 0.6956 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005333/1.518, allocations: 371.6 kB / 0.696 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/1.519, allocations: 300 kB / 0.6962 GB, free: 5.621 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 336 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (727): * Single equations (assignments): 721 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 4,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008848/1.528, allocations: 3.972 MB / 0.7001 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/1.529, allocations: 0.5094 MB / 0.7006 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2426/1.772, allocations: 7.948 MB / 0.7084 GB, free: 142.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.775e-05/1.772, allocations: 50.05 kB / 0.7084 GB, free: 142.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.479e-05/1.772, allocations: 19.48 kB / 0.7084 GB, free: 142.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001182/1.772, allocations: 22.83 kB / 0.7085 GB, free: 142.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0359/1.808, allocations: 17.51 MB / 0.7256 GB, free: 136.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/1.808, allocations: 7.906 kB / 0.7256 GB, free: 136.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003677/1.812, allocations: 0.7577 MB / 0.7263 GB, free: 136 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004118/1.816, allocations: 1.551 MB / 0.7278 GB, free: 135.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008954/1.817, allocations: 112.8 kB / 0.7279 GB, free: 135.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01931/1.836, allocations: 19.55 MB / 0.747 GB, free: 121.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.836, allocations: 10.55 kB / 0.747 GB, free: 121.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01699/1.853, allocations: 11.44 MB / 0.7582 GB, free: 116.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00381/1.857, allocations: 1.163 MB / 0.7593 GB, free: 116.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001669/1.859, allocations: 101.2 kB / 0.7594 GB, free: 116.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003434/1.862, allocations: 245.7 kB / 0.7597 GB, free: 116 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009697/1.863, allocations: 339.1 kB / 0.76 GB, free: 115.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003076/1.863, allocations: 138.4 kB / 0.7601 GB, free: 115.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006156/1.87, allocations: 3.164 MB / 0.7632 GB, free: 113.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.5e-07/1.87, allocations: 4 kB / 0.7632 GB, free: 113.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01033/1.88, allocations: 1.912 MB / 0.7651 GB, free: 111.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (396): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(14,41.8%) 44,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 3,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01957/1.9, allocations: 12.5 MB / 0.7773 GB, free: 99.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01382/1.913, allocations: 8.184 MB / 0.7853 GB, free: 90.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.913, allocations: 4 kB / 0.7853 GB, free: 90.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007888/1.921, allocations: 4.658 MB / 0.7898 GB, free: 86.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00803/1.929, allocations: 1.284 MB / 0.7911 GB, free: 84.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1365/2.066, allocations: 59.34 MB / 0.849 GB, free: 22.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01339/2.079, allocations: 6.916 MB / 0.8558 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.008629/2.088, allocations: 1.925 MB / 0.8577 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007819/2.096, allocations: 4.08 MB / 0.8617 GB, free: 9.527 MB / 462.1 MB Notification: Performance of SimCode: time 2.074e-06/2.096, allocations: 0 / 0.8617 GB, free: 9.527 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4195/2.515, allocations: 150.2 MB / 1.008 GB, free: 20.2 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/2.516, allocations: 305.8 kB / 1.009 GB, free: 19.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.111/8.627, allocations: 0 / 1.009 GB, free: 19.84 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat does not exist to compare? outputFormat=mat