Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.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.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008401/0.008401, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.555/1.555, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004811/0.000481, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2767, allocations: 47.57 MB / 327 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01668/0.2934, allocations: 15.64 MB / 342.7 MB, free: 3.695 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01242/0.3059, allocations: 5.323 MB / 348 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003659/0.3096, allocations: 91.56 kB / 348.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004159/0.3138, allocations: 1.084 MB / 349.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005915/0.3197, allocations: 1.43 MB / 350.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.3229, allocations: 0.9631 MB / 351.6 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00806/0.331, allocations: 5.301 MB / 356.9 MB, free: 5.453 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004629/0.3356, allocations: 3.152 MB / 360 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002957/0.3386, allocations: 1.606 MB / 361.6 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003383/0.342, allocations: 2.135 MB / 363.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008682/0.3429, allocations: 252 kB / 364 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.3447, allocations: 487.6 kB / 364.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.3457, allocations: 0.9884 MB / 365.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002718/0.3484, allocations: 2.182 MB / 367.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007945/0.3564, allocations: 7.56 MB / 375.2 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3564, allocations: 0 / 375.2 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.569e-06/0.3564, allocations: 0 / 375.2 MB, free: 2.961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001903/0.3566, allocations: 3.938 kB / 375.2 MB, free: 2.957 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01265/0.3693, allocations: 4.555 MB / 379.8 MB, free: 14.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.3694, allocations: 8.031 kB / 379.8 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006049/0.3754, allocations: 0.9986 MB / 380.8 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005974/0.3814, allocations: 2.695 MB / 383.5 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/0.3818, allocations: 320.2 kB / 383.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008796/0.3827, allocations: 392 kB / 384.2 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009708/0.3924, allocations: 5.236 MB / 389.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.043e-05/0.3925, allocations: 3.906 kB / 389.4 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003578/0.3928, allocations: 168 kB / 389.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001704/0.393, allocations: 172 kB / 389.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008399/0.4014, allocations: 4.482 MB / 394.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02647/0.4279, allocations: 16.94 MB / 411.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00842/0.4364, allocations: 8.437 MB / 419.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003513/0.44, allocations: 1.733 MB / 421.3 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008899/0.4489, allocations: 5.002 MB / 426.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.449, allocations: 55.81 kB / 426.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=156): time 3.366e-06/0.449, allocations: 0 / 426.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=159): time 0.01253/0.4615, allocations: 6.217 MB / 432.6 MB, free: 7.453 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.4616, allocations: 64.72 kB / 432.7 MB, free: 7.379 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003583/0.4652, allocations: 2.31 MB / 435 MB, free: 5.043 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.4654, allocations: 53.7 kB / 435 MB, free: 4.984 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001521/0.4669, allocations: 1.84 MB / 436.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004758/0.4674, allocations: 0.5508 MB / 437.4 MB, free: 2.559 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/0.4676, allocations: 178 kB / 437.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.4677, allocations: 305.1 kB / 437.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.4692, allocations: 0.8592 MB / 438.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.4713, allocations: 1.583 MB / 440.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003698/0.475, allocations: 2.598 MB / 442.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.4751, allocations: 11.94 kB / 442.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005135/0.4802, allocations: 2.919 MB / 445.8 MB, free: 9.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.4803, allocations: 18.81 kB / 445.9 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.524e-05/0.4803, allocations: 27.98 kB / 445.9 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/0.4806, allocations: 118.2 kB / 446 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/0.4828, allocations: 0.5577 MB / 446.6 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.4845, allocations: 1.822 MB / 448.4 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.4864, allocations: 119.9 kB / 448.5 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.4866, allocations: 96 kB / 448.6 MB, free: 6.523 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002178/0.4888, allocations: 1.196 MB / 449.8 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004949/0.4893, allocations: 245 kB / 450 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004372/0.4936, allocations: 2.472 MB / 452.5 MB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.4937, allocations: 16.12 kB / 452.5 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.4937, allocations: 12 kB / 452.5 MB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.4937, allocations: 7.969 kB / 452.5 MB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1903/0.684, allocations: 5.84 MB / 458.4 MB, free: 107.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.6841, allocations: 2.219 kB / 458.4 MB, free: 107.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.6853, allocations: 297.2 kB / 458.7 MB, free: 107.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000861/0.6862, allocations: 325.5 kB / 459 MB, free: 107.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.6863, allocations: 36.53 kB / 459 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005206/0.6916, allocations: 6.38 MB / 465.4 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6916, allocations: 3.938 kB / 465.4 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004936/0.6965, allocations: 3.611 MB / 469 MB, free: 100.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009927/0.6975, allocations: 0.496 MB / 469.5 MB, free: 100.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/0.6978, allocations: 35.75 kB / 469.6 MB, free: 100.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.699, allocations: 94.48 kB / 469.6 MB, free: 100.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000281/0.6992, allocations: 116.7 kB / 469.8 MB, free: 100.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.754e-05/0.6993, allocations: 51.77 kB / 469.8 MB, free: 100.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002124/0.7015, allocations: 1.575 MB / 471.4 MB, free: 99.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7015, allocations: 0 / 471.4 MB, free: 99.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002115/0.7036, allocations: 0.6715 MB / 472.1 MB, free: 99.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003307/0.7039, allocations: 170.8 kB / 472.2 MB, free: 99.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003157/0.7071, allocations: 2.298 MB / 474.5 MB, free: 98.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.7071, allocations: 3.875 kB / 474.5 MB, free: 98.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.7091, allocations: 1.459 MB / 476 MB, free: 97.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/0.7125, allocations: 0.5627 MB / 476.5 MB, free: 97.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.7228, allocations: 8.79 MB / 485.3 MB, free: 89.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/0.7246, allocations: 2.665 MB / 488 MB, free: 86.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001893/0.7265, allocations: 0.5513 MB / 488.6 MB, free: 86.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/0.7269, allocations: 161.1 kB / 488.7 MB, free: 85.97 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.727, allocations: 0 / 488.7 MB, free: 85.97 MB / 382.1 MB Notification: Performance of Templates: time 0.04808/0.775, allocations: 30.85 MB / 0.5074 GB, free: 55.09 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1)