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.00149/0.00149, allocations: 114.5 kB / 17.73 MB, free: 5.324 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.001333/0.001333, allocations: 187 kB / 18.66 MB, free: 4.398 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.512/1.512, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001337/0.001337, allocations: 55.92 kB / 328.1 MB, free: 3.766 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1038, allocations: 46.61 MB / 374.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.2786/0.3825, allocations: 34.08 MB / 408.8 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02533/0.4079, allocations: 9.558 MB / 418.3 MB, free: 76 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0105/0.4184, allocations: 211.7 kB / 418.5 MB, free: 28 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02156/0.4401, allocations: 8.165 MB / 426.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01684/0.4569, allocations: 3.8 MB / 430.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00814/0.4651, allocations: 2.316 MB / 432.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02147/0.4866, allocations: 13.33 MB / 446.1 MB, free: 8.418 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03196/0.5186, allocations: 22.63 MB / 468.8 MB, free: 1.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01172/0.5304, allocations: 6.736 MB / 475.5 MB, free: 10.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01214/0.5425, allocations: 7.428 MB / 482.9 MB, free: 3.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005253/0.5478, allocations: 1.914 MB / 484.8 MB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00768/0.5555, allocations: 2.3 MB / 487.1 MB, free: 15.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005902/0.5615, allocations: 3.854 MB / 491 MB, free: 11.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01477/0.5762, allocations: 7.276 MB / 498.3 MB, free: 4.035 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03056/0.6068, allocations: 25.33 MB / 0.5113 GB, free: 10.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.6069, allocations: 4 kB / 0.5113 GB, free: 10.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6069, allocations: 0 / 0.5113 GB, free: 10.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006081/0.6075, allocations: 0 / 0.5113 GB, free: 10.62 MB / 446.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.04792/0.6554, allocations: 15 MB / 0.526 GB, free: 11.51 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.6555, allocations: 15.89 kB / 0.526 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005895/0.6614, allocations: 1.572 MB / 0.5275 GB, free: 9.914 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04678/0.7082, allocations: 7.75 MB / 0.5351 GB, free: 2.141 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01767/0.7259, allocations: 7.407 MB / 0.5423 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009534/0.7269, allocations: 0.8149 MB / 0.5431 GB, free: 9.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004182/0.7311, allocations: 1.09 MB / 0.5442 GB, free: 8.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3796/1.111, allocations: 17.87 MB / 0.5616 GB, free: 129.1 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003653/1.111, allocations: 14.36 kB / 0.5617 GB, free: 129.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002917/1.114, allocations: 463.2 kB / 0.5621 GB, free: 128.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006736/1.115, allocations: 0.6732 MB / 0.5628 GB, free: 128.6 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03649/1.151, allocations: 17.06 MB / 0.5794 GB, free: 122.2 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09125/1.243, allocations: 56.15 MB / 0.6343 GB, free: 75.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02402/1.267, allocations: 42.41 MB / 0.6757 GB, free: 28.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00658/1.273, allocations: 4.582 MB / 0.6801 GB, free: 23.81 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02019/1.293, allocations: 13.16 MB / 0.693 GB, free: 10.67 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003399/1.297, allocations: 3.094 MB / 0.696 GB, free: 7.508 MB / 478.1 MB Notification: Performance of pre-optimization done (n=434): time 5.35e-06/1.297, allocations: 0 / 0.696 GB, free: 7.508 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.04602/1.343, allocations: 23.49 MB / 0.719 GB, free: 15.87 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002095/1.343, allocations: 415.4 kB / 0.7193 GB, free: 15.38 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007566/1.351, allocations: 4.718 MB / 0.724 GB, free: 10.65 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0006538/1.351, allocations: 101.7 kB / 0.7241 GB, free: 10.55 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004507/1.356, allocations: 4.894 MB / 0.7288 GB, free: 5.625 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001847/1.358, allocations: 1.55 MB / 0.7303 GB, free: 4.086 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001866/1.36, allocations: 1.2 MB / 0.7315 GB, free: 2.875 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.36, allocations: 305.1 kB / 0.7318 GB, free: 2.574 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00422/1.364, allocations: 2.882 MB / 0.7346 GB, free: 15.69 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005652/1.37, allocations: 5.306 MB / 0.7398 GB, free: 9.301 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2278/1.598, allocations: 8.678 MB / 0.7483 GB, free: 162.9 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.122e-05/1.598, allocations: 20.47 kB / 0.7483 GB, free: 162.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=811) (initialization): time 0.0178/1.615, allocations: 9.89 MB / 0.758 GB, free: 161.2 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.837e-05/1.616, allocations: 40.03 kB / 0.758 GB, free: 161.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/1.616, allocations: 74.83 kB / 0.7581 GB, free: 161.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004109/1.62, allocations: 1.487 MB / 0.7595 GB, free: 160.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005306/1.625, allocations: 1.409 MB / 0.7609 GB, free: 160.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01991/1.645, allocations: 17.63 MB / 0.7781 GB, free: 148.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005266/1.65, allocations: 369.7 kB / 0.7785 GB, free: 148.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008477/1.651, allocations: 311.1 kB / 0.7788 GB, free: 148.6 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 336 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * 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 (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%), (1,4,100.0%), (14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00627/1.657, allocations: 3.973 MB / 0.7826 GB, free: 146.6 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/1.659, allocations: 0.5092 MB / 0.7831 GB, free: 146.6 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/1.671, allocations: 7.949 MB / 0.7909 GB, free: 143.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/1.671, allocations: 58.02 kB / 0.791 GB, free: 143.2 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/1.671, allocations: 15.44 kB / 0.791 GB, free: 143.2 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.353e-05/1.671, allocations: 21.89 kB / 0.791 GB, free: 143.2 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02279/1.694, allocations: 17.45 MB / 0.808 GB, free: 135.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/1.694, allocations: 3.938 kB / 0.808 GB, free: 135.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002865/1.697, allocations: 0.7567 MB / 0.8088 GB, free: 135.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003734/1.701, allocations: 1.552 MB / 0.8103 GB, free: 135.4 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003347/1.701, allocations: 113 kB / 0.8104 GB, free: 135.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/1.719, allocations: 21.28 MB / 0.8312 GB, free: 114.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.719, allocations: 4 kB / 0.8312 GB, free: 114.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01432/1.733, allocations: 11.49 MB / 0.8424 GB, free: 102.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003011/1.736, allocations: 1.152 MB / 0.8435 GB, free: 101.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006265/1.737, allocations: 104.1 kB / 0.8436 GB, free: 101.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002271/1.739, allocations: 231.8 kB / 0.8438 GB, free: 101.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007389/1.74, allocations: 339.5 kB / 0.8442 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/1.74, allocations: 136 kB / 0.8443 GB, free: 101 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003789/1.744, allocations: 3.201 MB / 0.8474 GB, free: 97.77 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.31e-07/1.744, allocations: 4 kB / 0.8474 GB, free: 97.77 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.005735/1.75, allocations: 1.909 MB / 0.8493 GB, free: 95.86 MB / 0.5138 GB 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 (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (14,44,41.8%), (1,5,100.0%), (1,13,100.0%), (1,3,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01423/1.764, allocations: 12.53 MB / 0.8615 GB, free: 83.22 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01082/1.775, allocations: 8.241 MB / 0.8696 GB, free: 74.91 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.775, allocations: 0 / 0.8696 GB, free: 74.91 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005845/1.781, allocations: 4.666 MB / 0.8741 GB, free: 70.17 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005261/1.786, allocations: 1.346 MB / 0.8754 GB, free: 68.82 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08287/1.869, allocations: 65.01 MB / 0.9389 GB, free: 1.059 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2165/2.086, allocations: 6.915 MB / 0.9457 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005906/2.092, allocations: 1.917 MB / 0.9476 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005239/2.097, allocations: 4.125 MB / 0.9516 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/2.097, allocations: 0 / 0.9516 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3436/2.44, allocations: 156.1 MB / 1.104 GB, free: 44.85 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.65/26.09, allocations: 4.812 kB / 1.104 GB, free: 44.84 MB / 0.5294 GB (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/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)