Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_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.001228/0.001229, allocations: 112.2 kB / 17.06 MB, free: 6 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.001238/0.001239, allocations: 200 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008859/0.0008859, allocations: 51.92 kB / 350.8 MB, free: 3.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.238, allocations: 49.44 MB / 400.3 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03245/0.2705, allocations: 33.97 MB / 434.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01706/0.2876, allocations: 9.666 MB / 443.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005328/0.2929, allocations: 247.2 kB / 444.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01706/0.31, allocations: 8.14 MB / 452.3 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.3207, allocations: 3.756 MB / 456.1 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005747/0.3264, allocations: 2.293 MB / 458.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01412/0.3405, allocations: 13.19 MB / 471.5 MB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02693/0.3675, allocations: 22.63 MB / 494.2 MB, free: 10.49 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00828/0.3758, allocations: 6.662 MB / 0.4891 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009463/0.3853, allocations: 7.327 MB / 0.4962 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004594/0.3899, allocations: 1.895 MB / 0.4981 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006094/0.396, allocations: 2.308 MB / 0.5003 GB, free: 8.254 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004356/0.4004, allocations: 3.792 MB / 0.504 GB, free: 4.453 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009361/0.4098, allocations: 7.191 MB / 0.5111 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02649/0.4363, allocations: 25.26 MB / 0.5357 GB, free: 3.898 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4363, allocations: 0 / 0.5357 GB, free: 3.898 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4363, allocations: 3.938 kB / 0.5357 GB, free: 3.895 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006971/0.437, allocations: 0 / 0.5357 GB, free: 3.895 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3019 * Number of variables: 3019 Notification: Performance of Generate backend data structure: time 0.5034/0.9404, allocations: 14.81 MB / 0.5502 GB, free: 113.4 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.9405, allocations: 15.73 kB / 0.5502 GB, free: 113.4 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005657/0.9462, allocations: 1.544 MB / 0.5517 GB, free: 112.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03971/0.9859, allocations: 6.766 MB / 0.5583 GB, free: 108.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0181/1.004, allocations: 8.144 MB / 0.5663 GB, free: 100.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007721/1.005, allocations: 0.8101 MB / 0.5671 GB, free: 99.74 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004564/1.009, allocations: 1.066 MB / 0.5681 GB, free: 98.68 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04449/1.054, allocations: 17.42 MB / 0.5851 GB, free: 81.24 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005487/1.055, allocations: 23.75 kB / 0.5851 GB, free: 81.22 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004279/1.059, allocations: 447.5 kB / 0.5856 GB, free: 80.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006486/1.059, allocations: 0.6436 MB / 0.5862 GB, free: 80.15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03426/1.094, allocations: 16.37 MB / 0.6022 GB, free: 63.76 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09267/1.186, allocations: 54.83 MB / 0.6557 GB, free: 8.117 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02876/1.215, allocations: 33.35 MB / 0.6883 GB, free: 3.453 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008951/1.224, allocations: 4.412 MB / 0.6926 GB, free: 15.02 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02816/1.252, allocations: 12.11 MB / 0.7044 GB, free: 2.812 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005361/1.258, allocations: 3.097 MB / 0.7075 GB, free: 15.65 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=434): time 8.516e-06/1.258, allocations: 0 / 0.7075 GB, free: 15.65 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.05373/1.312, allocations: 22.88 MB / 0.7298 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002122/1.312, allocations: 415.4 kB / 0.7302 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008191/1.32, allocations: 4.574 MB / 0.7347 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007735/1.321, allocations: 97.7 kB / 0.7348 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.2615/1.582, allocations: 4.751 MB / 0.7394 GB, free: 179 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00248/1.585, allocations: 1.542 MB / 0.7409 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002488/1.587, allocations: 1.134 MB / 0.742 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.133e-05/1.588, allocations: 304.5 kB / 0.7423 GB, free: 178 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003916/1.591, allocations: 2.831 MB / 0.7451 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005106/1.597, allocations: 5.014 MB / 0.75 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00908/1.606, allocations: 8.301 MB / 0.7581 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.649e-05/1.606, allocations: 19.62 kB / 0.7581 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01463/1.62, allocations: 9.571 MB / 0.7674 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.597e-05/1.62, allocations: 35.84 kB / 0.7675 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/1.621, allocations: 65.69 kB / 0.7675 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003674/1.624, allocations: 1.493 MB / 0.769 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004931/1.629, allocations: 1.325 MB / 0.7703 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/1.646, allocations: 17.6 MB / 0.7875 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005374/1.652, allocations: 354.1 kB / 0.7878 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008783/1.653, allocations: 281 kB / 0.7881 GB, free: 147.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * 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 (688): * Single equations (assignments): 682 * 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.007097/1.66, allocations: 3.909 MB / 0.7919 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.661, allocations: 0.4937 MB / 0.7924 GB, free: 144 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/1.673, allocations: 7.957 MB / 0.8002 GB, free: 137 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.718e-05/1.673, allocations: 44 kB / 0.8002 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.331e-05/1.673, allocations: 16 kB / 0.8002 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.993e-05/1.673, allocations: 23.91 kB / 0.8002 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03073/1.704, allocations: 17.38 MB / 0.8172 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/1.704, allocations: 4 kB / 0.8172 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003088/1.707, allocations: 0.7612 MB / 0.818 GB, free: 118.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003928/1.711, allocations: 1.558 MB / 0.8195 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004674/1.712, allocations: 108 kB / 0.8196 GB, free: 117 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01901/1.731, allocations: 21.28 MB / 0.8404 GB, free: 94.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.731, allocations: 8 kB / 0.8404 GB, free: 94.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01642/1.747, allocations: 11.48 MB / 0.8516 GB, free: 83.13 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003665/1.751, allocations: 1.143 MB / 0.8527 GB, free: 81.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001382/1.752, allocations: 99.91 kB / 0.8528 GB, free: 81.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002983/1.755, allocations: 231.8 kB / 0.853 GB, free: 81.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008037/1.756, allocations: 339.5 kB / 0.8533 GB, free: 81.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003024/1.756, allocations: 143.9 kB / 0.8535 GB, free: 81.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00588/1.762, allocations: 3.12 MB / 0.8565 GB, free: 78.05 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.91e-07/1.762, allocations: 0 / 0.8565 GB, free: 78.05 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008257/1.771, allocations: 1.878 MB / 0.8583 GB, free: 76.18 MB / 0.5294 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.3%), (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.01916/1.79, allocations: 12.51 MB / 0.8706 GB, free: 63.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01262/1.802, allocations: 8.102 MB / 0.8785 GB, free: 55.53 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.802, allocations: 0 / 0.8785 GB, free: 55.53 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007208/1.81, allocations: 4.666 MB / 0.883 GB, free: 50.79 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007752/1.817, allocations: 1.333 MB / 0.8843 GB, free: 49.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3559/2.173, allocations: 63.23 MB / 0.9461 GB, free: 177.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00773/2.181, allocations: 6.83 MB / 0.9527 GB, free: 176.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005179/2.186, allocations: 1.841 MB / 0.9545 GB, free: 176.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005567/2.192, allocations: 4.062 MB / 0.9585 GB, free: 174 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/2.192, allocations: 3.844 kB / 0.9585 GB, free: 174 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2472/2.439, allocations: 154.2 MB / 1.109 GB, free: 33.32 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 25/27.44, allocations: 12.56 kB / 1.109 GB, free: 33.31 MB / 0.545 GB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)