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.001116/0.001116, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001212/0.001212, allocations: 183 kB / 18.66 MB, free: 4.418 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.29/1.29, allocations: 205.1 MB / 224.5 MB, free: 12.28 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.001629/0.001629, allocations: 55.92 kB / 328.1 MB, free: 3.777 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09454, allocations: 46.63 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.2108/0.3054, allocations: 34.08 MB / 408.8 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02544/0.3309, allocations: 9.551 MB / 418.3 MB, free: 72 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008998/0.3399, allocations: 214.9 kB / 418.5 MB, free: 20 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01941/0.3594, allocations: 8.163 MB / 426.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01412/0.3736, allocations: 3.807 MB / 430.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00714/0.3807, allocations: 2.312 MB / 432.8 MB, free: 4.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01737/0.3981, allocations: 13.33 MB / 446.1 MB, free: 8.426 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03333/0.4315, allocations: 22.62 MB / 468.8 MB, free: 1.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01188/0.4434, allocations: 6.736 MB / 475.5 MB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01255/0.456, allocations: 7.432 MB / 482.9 MB, free: 3.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004762/0.4608, allocations: 1.91 MB / 484.8 MB, free: 1.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006997/0.4678, allocations: 2.296 MB / 487.1 MB, free: 15.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005873/0.4737, allocations: 3.854 MB / 491 MB, free: 11.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0152/0.4889, allocations: 7.28 MB / 498.3 MB, free: 4.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03405/0.523, allocations: 25.33 MB / 0.5113 GB, free: 10.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.523, allocations: 4 kB / 0.5113 GB, free: 10.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.523, allocations: 0 / 0.5113 GB, free: 10.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007323/0.5238, allocations: 3.938 kB / 0.5113 GB, free: 10.64 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.04895/0.5727, allocations: 14.99 MB / 0.526 GB, free: 11.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.5728, allocations: 11.89 kB / 0.526 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007103/0.5799, allocations: 1.583 MB / 0.5275 GB, free: 9.918 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04325/0.6232, allocations: 7.738 MB / 0.5351 GB, free: 2.156 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/0.6412, allocations: 7.411 MB / 0.5423 GB, free: 10.67 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001023/0.6423, allocations: 0.8188 MB / 0.5431 GB, free: 9.848 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005081/0.6474, allocations: 1.082 MB / 0.5442 GB, free: 8.766 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4304/1.078, allocations: 17.88 MB / 0.5616 GB, free: 129.1 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004683/1.078, allocations: 15.22 kB / 0.5617 GB, free: 129.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003617/1.082, allocations: 462.5 kB / 0.5621 GB, free: 128.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008321/1.083, allocations: 0.6724 MB / 0.5628 GB, free: 128.7 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03944/1.122, allocations: 17.06 MB / 0.5794 GB, free: 122.2 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1037/1.226, allocations: 56.15 MB / 0.6343 GB, free: 75.1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02405/1.25, allocations: 42.41 MB / 0.6757 GB, free: 28.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006667/1.257, allocations: 4.582 MB / 0.6801 GB, free: 23.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02021/1.277, allocations: 13.15 MB / 0.693 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003499/1.281, allocations: 3.094 MB / 0.696 GB, free: 7.523 MB / 478.1 MB Notification: Performance of pre-optimization done (n=434): time 5.37e-06/1.281, allocations: 0 / 0.696 GB, free: 7.523 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.04733/1.328, allocations: 23.49 MB / 0.7189 GB, free: 15.88 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002296/1.328, allocations: 415.4 kB / 0.7193 GB, free: 15.39 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008591/1.337, allocations: 4.718 MB / 0.7239 GB, free: 10.67 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0011/1.338, allocations: 105.6 kB / 0.7241 GB, free: 10.56 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.006249/1.344, allocations: 4.887 MB / 0.7288 GB, free: 5.641 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002438/1.347, allocations: 1.553 MB / 0.7303 GB, free: 4.102 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002057/1.349, allocations: 1.2 MB / 0.7315 GB, free: 2.891 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.349, allocations: 301.1 kB / 0.7318 GB, free: 2.594 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004629/1.354, allocations: 2.891 MB / 0.7346 GB, free: 15.7 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006246/1.36, allocations: 5.314 MB / 0.7398 GB, free: 9.305 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2596/1.619, allocations: 8.675 MB / 0.7483 GB, free: 164.3 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.041e-05/1.62, allocations: 20.44 kB / 0.7483 GB, free: 164.3 MB / 0.5138 GB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01977/1.639, allocations: 9.891 MB / 0.758 GB, free: 162.6 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.229e-05/1.639, allocations: 36.09 kB / 0.758 GB, free: 162.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001516/1.64, allocations: 74.25 kB / 0.7581 GB, free: 162.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00422/1.644, allocations: 1.495 MB / 0.7595 GB, free: 162.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005676/1.649, allocations: 1.406 MB / 0.7609 GB, free: 162.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01949/1.669, allocations: 17.63 MB / 0.7781 GB, free: 150.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005283/1.674, allocations: 363.4 kB / 0.7785 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009009/1.675, allocations: 301.3 kB / 0.7787 GB, free: 150 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.007127/1.682, allocations: 3.979 MB / 0.7826 GB, free: 148 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001287/1.684, allocations: 0.5085 MB / 0.7831 GB, free: 148 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/1.696, allocations: 7.948 MB / 0.7909 GB, free: 144.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/1.696, allocations: 54.56 kB / 0.7909 GB, free: 144.6 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.259e-05/1.696, allocations: 29.92 kB / 0.791 GB, free: 144.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.4e-05/1.696, allocations: 22.73 kB / 0.791 GB, free: 144.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0278/1.724, allocations: 17.44 MB / 0.808 GB, free: 137.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/1.724, allocations: 7.906 kB / 0.808 GB, free: 137.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003136/1.727, allocations: 0.7561 MB / 0.8088 GB, free: 136.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003722/1.731, allocations: 1.554 MB / 0.8103 GB, free: 135.6 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004738/1.732, allocations: 115.1 kB / 0.8104 GB, free: 135.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01808/1.75, allocations: 21.28 MB / 0.8312 GB, free: 114.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.75, allocations: 4 kB / 0.8312 GB, free: 114.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01519/1.765, allocations: 11.48 MB / 0.8424 GB, free: 103.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002981/1.768, allocations: 1.15 MB / 0.8435 GB, free: 101.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/1.769, allocations: 100 kB / 0.8436 GB, free: 101.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/1.771, allocations: 235.8 kB / 0.8438 GB, free: 101.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006831/1.772, allocations: 343.5 kB / 0.8442 GB, free: 101.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002477/1.772, allocations: 136 kB / 0.8443 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004538/1.777, allocations: 3.197 MB / 0.8474 GB, free: 97.95 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.31e-07/1.777, allocations: 0 / 0.8474 GB, free: 97.95 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007405/1.784, allocations: 1.913 MB / 0.8493 GB, free: 96.04 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.01645/1.801, allocations: 12.53 MB / 0.8615 GB, free: 83.39 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0126/1.813, allocations: 8.243 MB / 0.8696 GB, free: 75.08 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/1.814, allocations: 4.109 kB / 0.8696 GB, free: 75.08 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007114/1.821, allocations: 4.663 MB / 0.8741 GB, free: 70.34 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006651/1.827, allocations: 1.338 MB / 0.8754 GB, free: 68.99 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1079/1.935, allocations: 65.01 MB / 0.9389 GB, free: 1.238 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2715/2.207, allocations: 6.912 MB / 0.9457 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007049/2.214, allocations: 1.926 MB / 0.9476 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006785/2.221, allocations: 4.123 MB / 0.9516 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.392e-06/2.221, allocations: 0 / 0.9516 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2375/2.458, allocations: 156.1 MB / 1.104 GB, free: 45.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.67/25.13, allocations: 10.33 kB / 1.104 GB, free: 45.11 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)