Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.006335/0.006335, allocations: 99.11 kB / 15.73 MB, free: 6.035 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.001118/0.001118, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.525/1.525, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.00153/0.001531, allocations: 42.34 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1283, allocations: 46.64 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.04248/0.1708, allocations: 34.07 MB / 407.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02719/0.198, allocations: 9.566 MB / 416.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009859/0.208, allocations: 211.2 kB / 417.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02147/0.2295, allocations: 8.147 MB / 425.2 MB, free: 13.09 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.01785/0.2474, allocations: 3.799 MB / 429 MB, free: 9.273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009668/0.2571, allocations: 2.315 MB / 431.3 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02339/0.2805, allocations: 13.34 MB / 444.7 MB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3308/0.6113, allocations: 22.62 MB / 467.3 MB, free: 9.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01325/0.6246, allocations: 6.704 MB / 474 MB, free: 8.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01532/0.64, allocations: 7.427 MB / 481.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006824/0.6468, allocations: 1.914 MB / 483.3 MB, free: 7.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01104/0.6579, allocations: 2.307 MB / 485.6 MB, free: 7.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007281/0.6652, allocations: 3.846 MB / 489.5 MB, free: 7.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01425/0.6795, allocations: 7.277 MB / 496.8 MB, free: 3.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04072/0.7202, allocations: 25.39 MB / 0.5099 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.7203, allocations: 0 / 0.5099 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.7203, allocations: 0 / 0.5099 GB, free: 14.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0009953/0.7213, allocations: 0 / 0.5099 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.05256/0.7739, allocations: 15.28 MB / 0.5248 GB, free: 15.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.872e-05/0.774, allocations: 12.03 kB / 0.5248 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04477/0.8187, allocations: 7.803 MB / 0.5325 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01694/0.8357, allocations: 7.444 MB / 0.5397 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000863/0.8366, allocations: 0.8137 MB / 0.5405 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005161/0.8418, allocations: 1.09 MB / 0.5416 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05677/0.8986, allocations: 17.88 MB / 0.559 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004222/0.899, allocations: 15.59 kB / 0.5591 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004468/0.9035, allocations: 458 kB / 0.5595 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000748/0.9043, allocations: 0.6752 MB / 0.5602 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04597/0.9502, allocations: 17.05 MB / 0.5768 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1136/1.064, allocations: 56.29 MB / 0.6318 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4989/1.563, allocations: 42.42 MB / 0.6732 GB, free: 133.8 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007954/1.571, allocations: 4.582 MB / 0.6777 GB, free: 132 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0216/1.593, allocations: 13.17 MB / 0.6905 GB, free: 125.9 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003922/1.596, allocations: 3.098 MB / 0.6936 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=434): time 6.032e-06/1.597, allocations: 3.969 kB / 0.6936 GB, free: 124.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.04814/1.645, allocations: 23.63 MB / 0.7167 GB, free: 115.1 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.645, allocations: 410.4 kB / 0.717 GB, free: 114.6 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006721/1.652, allocations: 4.733 MB / 0.7217 GB, free: 111.8 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009664/1.653, allocations: 97.7 kB / 0.7218 GB, free: 111.7 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004907/1.657, allocations: 5.055 MB / 0.7267 GB, free: 107.3 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001859/1.659, allocations: 1.623 MB / 0.7283 GB, free: 105.7 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001804/1.661, allocations: 1.204 MB / 0.7295 GB, free: 104.5 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.486e-05/1.661, allocations: 305.1 kB / 0.7297 GB, free: 104.2 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00364/1.665, allocations: 2.886 MB / 0.7326 GB, free: 101.3 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00468/1.67, allocations: 5.301 MB / 0.7377 GB, free: 94.93 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/1.68, allocations: 8.691 MB / 0.7462 GB, free: 85.2 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001179/1.68, allocations: 24 kB / 0.7463 GB, free: 85.18 MB / 0.5138 GB Notification: Performance of matching and sorting (n=811) (initialization): time 0.02167/1.702, allocations: 9.911 MB / 0.7559 GB, free: 75.21 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.4e-05/1.702, allocations: 39.94 kB / 0.756 GB, free: 75.18 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001507/1.702, allocations: 76 kB / 0.756 GB, free: 75.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003918/1.706, allocations: 1.493 MB / 0.7575 GB, free: 73.59 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00542/1.712, allocations: 1.408 MB / 0.7589 GB, free: 72.18 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01835/1.73, allocations: 17.65 MB / 0.7761 GB, free: 53.85 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006094/1.736, allocations: 367.7 kB / 0.7765 GB, free: 53.49 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001424/1.737, allocations: 300 kB / 0.7767 GB, free: 53.2 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.008826/1.746, allocations: 3.98 MB / 0.7806 GB, free: 49.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001979/1.748, allocations: 0.5279 MB / 0.7811 GB, free: 48.67 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01668/1.765, allocations: 7.963 MB / 0.7889 GB, free: 40.62 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.1e-05/1.765, allocations: 48 kB / 0.789 GB, free: 40.58 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.196e-05/1.765, allocations: 16 kB / 0.789 GB, free: 40.56 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.336e-05/1.765, allocations: 23.91 kB / 0.789 GB, free: 40.54 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03711/1.802, allocations: 17.45 MB / 0.8061 GB, free: 23 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-05/1.802, allocations: 4 kB / 0.8061 GB, free: 23 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003544/1.806, allocations: 0.7573 MB / 0.8068 GB, free: 22.24 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00433/1.81, allocations: 1.556 MB / 0.8083 GB, free: 20.66 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009953/1.811, allocations: 112 kB / 0.8084 GB, free: 20.55 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3398/2.151, allocations: 21.29 MB / 0.8292 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.108e-06/2.151, allocations: 5.062 kB / 0.8292 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02406/2.175, allocations: 11.51 MB / 0.8405 GB, free: 152.2 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004/2.179, allocations: 1.179 MB / 0.8416 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001969/2.181, allocations: 91.5 kB / 0.8417 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003746/2.185, allocations: 233.6 kB / 0.8419 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/2.186, allocations: 339.7 kB / 0.8423 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003475/2.187, allocations: 134.8 kB / 0.8424 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.008486/2.195, allocations: 3.205 MB / 0.8455 GB, free: 150.4 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.4e-07/2.195, allocations: 0 / 0.8455 GB, free: 150.4 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01143/2.207, allocations: 1.914 MB / 0.8474 GB, free: 150.2 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.002445/2.209, allocations: 0.5693 MB / 0.8479 GB, free: 149.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01632/2.225, allocations: 8.257 MB / 0.856 GB, free: 146.3 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/2.225, allocations: 7.844 kB / 0.856 GB, free: 146.3 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.009859/2.235, allocations: 4.67 MB / 0.8606 GB, free: 144 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01165/2.247, allocations: 1.354 MB / 0.8619 GB, free: 143.5 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04924/2.296, allocations: 20.08 MB / 0.8815 GB, free: 134.3 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01582/2.312, allocations: 6.915 MB / 0.8882 GB, free: 130.4 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007869/2.32, allocations: 1.931 MB / 0.8901 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002396/2.322, allocations: 402.5 kB / 0.8905 GB, free: 128.7 MB / 0.5138 GB Notification: Performance of SimCode: time 1.874e-06/2.322, allocations: 0 / 0.8905 GB, free: 128.7 MB / 0.5138 GB Notification: Performance of Templates: time 0.1401/2.463, allocations: 82.56 MB / 0.9711 GB, free: 49.32 MB / 0.5138 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)