Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006404/0.006404, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001082/0.001082, allocations: 197 kB / 16.68 MB, free: 5.93 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.53/1.53, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.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.001261/0.001261, allocations: 57.67 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1168, allocations: 46.62 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03528/0.1521, allocations: 34.08 MB / 407.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02384/0.176, allocations: 9.559 MB / 416.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009024/0.1851, allocations: 211.2 kB / 417.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02089/0.2061, allocations: 8.162 MB / 425.2 MB, free: 13.07 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.01546/0.2216, allocations: 3.799 MB / 429 MB, free: 9.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009784/0.2314, allocations: 2.3 MB / 431.3 MB, free: 6.941 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02313/0.2545, allocations: 13.34 MB / 444.7 MB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3377/0.5923, allocations: 22.62 MB / 467.3 MB, free: 8.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01445/0.6068, allocations: 6.696 MB / 474 MB, free: 8.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01452/0.6214, allocations: 7.43 MB / 481.4 MB, free: 6.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007956/0.6294, allocations: 1.909 MB / 483.3 MB, free: 6.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0128/0.6422, allocations: 2.309 MB / 485.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008424/0.6507, allocations: 3.849 MB / 489.5 MB, free: 6.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0174/0.6681, allocations: 7.277 MB / 496.8 MB, free: 2.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03494/0.7031, allocations: 25.33 MB / 0.5098 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.7031, allocations: 0 / 0.5098 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.7032, allocations: 0 / 0.5098 GB, free: 14.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008461/0.704, allocations: 0 / 0.5098 GB, free: 14.68 MB / 414.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.05566/0.7597, allocations: 15 MB / 0.5245 GB, free: 15.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.7598, allocations: 12.03 kB / 0.5245 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04524/0.805, allocations: 7.739 MB / 0.5321 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01755/0.8226, allocations: 7.42 MB / 0.5393 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009141/0.8235, allocations: 0.8177 MB / 0.5401 GB, free: 56 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005966/0.8295, allocations: 1.09 MB / 0.5412 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05017/0.8797, allocations: 17.87 MB / 0.5586 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004972/0.8802, allocations: 15.19 kB / 0.5586 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005615/0.8859, allocations: 454.1 kB / 0.5591 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001008/0.8869, allocations: 0.6791 MB / 0.5597 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04286/0.9298, allocations: 17.05 MB / 0.5764 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1186/1.048, allocations: 56.16 MB / 0.6312 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5348/1.583, allocations: 42.41 MB / 0.6726 GB, free: 134 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008917/1.592, allocations: 4.577 MB / 0.6771 GB, free: 132.2 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02392/1.616, allocations: 13.16 MB / 0.69 GB, free: 126 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003867/1.62, allocations: 3.097 MB / 0.693 GB, free: 124.8 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=434): time 6.863e-06/1.62, allocations: 0 / 0.693 GB, free: 124.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.0508/1.671, allocations: 23.48 MB / 0.7159 GB, free: 114.8 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/1.671, allocations: 423 kB / 0.7163 GB, free: 114.4 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007409/1.679, allocations: 4.721 MB / 0.7209 GB, free: 111.8 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001127/1.68, allocations: 101.7 kB / 0.721 GB, free: 111.7 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004545/1.684, allocations: 4.896 MB / 0.7258 GB, free: 107 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00256/1.687, allocations: 1.547 MB / 0.7273 GB, free: 105.5 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002456/1.689, allocations: 1.196 MB / 0.7285 GB, free: 104.3 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 7.425e-05/1.689, allocations: 305.1 kB / 0.7288 GB, free: 104 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00385/1.693, allocations: 2.894 MB / 0.7316 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004885/1.698, allocations: 5.297 MB / 0.7368 GB, free: 94.72 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/1.708, allocations: 8.688 MB / 0.7453 GB, free: 84.99 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.587e-05/1.709, allocations: 20 kB / 0.7453 GB, free: 84.97 MB / 0.5138 GB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01953/1.728, allocations: 9.899 MB / 0.755 GB, free: 75.02 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.864e-05/1.728, allocations: 36 kB / 0.755 GB, free: 74.98 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/1.728, allocations: 72 kB / 0.7551 GB, free: 74.91 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003851/1.732, allocations: 1.492 MB / 0.7565 GB, free: 73.41 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005682/1.738, allocations: 1.404 MB / 0.7579 GB, free: 72 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01846/1.756, allocations: 17.63 MB / 0.7751 GB, free: 53.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006314/1.763, allocations: 363.6 kB / 0.7754 GB, free: 53.34 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001579/1.764, allocations: 303.9 kB / 0.7757 GB, free: 53.04 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.009058/1.773, allocations: 3.978 MB / 0.7796 GB, free: 49.05 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001532/1.775, allocations: 0.5105 MB / 0.7801 GB, free: 48.54 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/1.789, allocations: 7.957 MB / 0.7879 GB, free: 40.5 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.817e-05/1.789, allocations: 54.89 kB / 0.7879 GB, free: 40.45 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/1.789, allocations: 16 kB / 0.788 GB, free: 40.43 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.465e-05/1.789, allocations: 19.92 kB / 0.788 GB, free: 40.41 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03426/1.824, allocations: 17.45 MB / 0.805 GB, free: 22.88 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/1.824, allocations: 4 kB / 0.805 GB, free: 22.88 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003656/1.827, allocations: 0.7612 MB / 0.8058 GB, free: 22.12 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004374/1.832, allocations: 1.555 MB / 0.8073 GB, free: 20.54 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001192/1.833, allocations: 112 kB / 0.8074 GB, free: 20.43 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3494/2.182, allocations: 21.28 MB / 0.8282 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.604e-05/2.182, allocations: 6.219 kB / 0.8282 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02864/2.211, allocations: 11.48 MB / 0.8394 GB, free: 152.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004605/2.216, allocations: 1.148 MB / 0.8405 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002785/2.219, allocations: 101.4 kB / 0.8406 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006767/2.225, allocations: 235.8 kB / 0.8408 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002292/2.228, allocations: 335.6 kB / 0.8412 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000879/2.229, allocations: 137.9 kB / 0.8413 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.01125/2.24, allocations: 3.208 MB / 0.8444 GB, free: 150.5 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.783e-06/2.24, allocations: 0 / 0.8444 GB, free: 150.5 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01613/2.256, allocations: 1.907 MB / 0.8463 GB, free: 150.3 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.003353/2.26, allocations: 0.5731 MB / 0.8468 GB, free: 149.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02463/2.284, allocations: 8.236 MB / 0.8549 GB, free: 146.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.86e-05/2.284, allocations: 3.969 kB / 0.8549 GB, free: 146.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.01586/2.3, allocations: 4.668 MB / 0.8594 GB, free: 144.1 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01165/2.312, allocations: 1.348 MB / 0.8608 GB, free: 143.6 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04575/2.358, allocations: 19.77 MB / 0.8801 GB, free: 134.7 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01179/2.37, allocations: 6.918 MB / 0.8868 GB, free: 130.5 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006127/2.376, allocations: 1.929 MB / 0.8887 GB, free: 129.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/2.377, allocations: 402.5 kB / 0.8891 GB, free: 128.8 MB / 0.5138 GB Notification: Performance of SimCode: time 1.422e-06/2.377, allocations: 0 / 0.8891 GB, free: 128.8 MB / 0.5138 GB Notification: Performance of Templates: time 0.1289/2.506, allocations: 82.58 MB / 0.9697 GB, free: 49.36 MB / 0.5138 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)