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.001377/0.001377, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001559/0.001559, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.436/1.436, allocations: 205.1 MB / 222 MB, free: 4.98 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.001428/0.001428, allocations: 59.91 kB / 278.1 MB, free: 12.98 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2282, allocations: 46.62 MB / 324.7 MB, free: 2.059 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01905/0.2473, allocations: 16.38 MB / 341.1 MB, free: 3.895 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01151/0.2589, allocations: 5.385 MB / 346.4 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003651/0.2626, allocations: 83.69 kB / 346.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003927/0.2666, allocations: 1.084 MB / 347.6 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00575/0.2723, allocations: 1.442 MB / 349.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003102/0.2755, allocations: 0.9903 MB / 350 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007588/0.2831, allocations: 5.293 MB / 355.3 MB, free: 5.566 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006086/0.2892, allocations: 3.195 MB / 358.5 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003889/0.2931, allocations: 1.837 MB / 360.4 MB, free: 456 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004241/0.2974, allocations: 2.436 MB / 362.8 MB, free: 14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001867/0.2993, allocations: 364 kB / 363.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002833/0.3022, allocations: 0.5894 MB / 363.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002126/0.3043, allocations: 1.141 MB / 364.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004659/0.309, allocations: 2.36 MB / 367.3 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008852/0.3179, allocations: 7.82 MB / 375.1 MB, free: 1.695 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.578e-05/0.3179, allocations: 0 / 375.1 MB, free: 1.695 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.318, allocations: 4 kB / 375.1 MB, free: 1.691 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002321/0.3182, allocations: 0 / 375.1 MB, free: 1.691 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.01469/0.3329, allocations: 5.37 MB / 380.4 MB, free: 12.24 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.333, allocations: 8.031 kB / 380.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005312/0.3383, allocations: 0.9909 MB / 381.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005548/0.3439, allocations: 2.691 MB / 384.1 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002658/0.3442, allocations: 312.2 kB / 384.4 MB, free: 8.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007714/0.3449, allocations: 403.9 kB / 384.8 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/0.3551, allocations: 5.213 MB / 390 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-05/0.3552, allocations: 0 / 390 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003744/0.3556, allocations: 171.9 kB / 390.2 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001618/0.3558, allocations: 176 kB / 390.4 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008568/0.3644, allocations: 4.443 MB / 394.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03027/0.3947, allocations: 16.83 MB / 411.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008348/0.4031, allocations: 8.422 MB / 420.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003288/0.4064, allocations: 1.707 MB / 421.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009285/0.4157, allocations: 4.993 MB / 426.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.4158, allocations: 51.88 kB / 426.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=156): time 3.727e-06/0.4158, allocations: 0 / 426.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=159): time 0.01277/0.4286, allocations: 6.119 MB / 433 MB, free: 5.688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.4286, allocations: 76.66 kB / 433 MB, free: 5.602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004246/0.4329, allocations: 2.31 MB / 435.3 MB, free: 3.266 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002952/0.4332, allocations: 57.7 kB / 435.4 MB, free: 3.203 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001476/0.4347, allocations: 1.84 MB / 437.2 MB, free: 1.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006927/0.4354, allocations: 0.5507 MB / 437.8 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008167/0.4362, allocations: 391.6 kB / 438.2 MB, free: 396 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4364, allocations: 301.1 kB / 438.5 MB, free: 92 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/0.4381, allocations: 0.8476 MB / 439.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002163/0.4403, allocations: 1.568 MB / 440.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003689/0.444, allocations: 2.555 MB / 443.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-05/0.444, allocations: 15.94 kB / 443.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005233/0.4493, allocations: 2.888 MB / 446.3 MB, free: 7.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.4493, allocations: 18.97 kB / 446.4 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/0.4494, allocations: 20 kB / 446.4 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003327/0.4497, allocations: 121.7 kB / 446.5 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/0.4517, allocations: 0.5463 MB / 447 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.4533, allocations: 1.822 MB / 448.9 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/0.4551, allocations: 115.9 kB / 449 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.4553, allocations: 95.98 kB / 449.1 MB, free: 4.648 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.001974/0.4573, allocations: 1.192 MB / 450.3 MB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005412/0.4578, allocations: 237.1 kB / 450.5 MB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004307/0.4622, allocations: 2.448 MB / 452.9 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.4622, allocations: 16 kB / 453 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.4622, allocations: 4 kB / 453 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.4622, allocations: 7.969 kB / 453 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1817/0.644, allocations: 5.797 MB / 458.8 MB, free: 107.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.644, allocations: 2.531 kB / 458.8 MB, free: 107.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.6454, allocations: 288.2 kB / 459 MB, free: 107.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000991/0.6464, allocations: 327.1 kB / 459.4 MB, free: 107.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/0.6465, allocations: 44.31 kB / 459.4 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005521/0.6521, allocations: 6.385 MB / 465.8 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6521, allocations: 7.875 kB / 465.8 MB, free: 102.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005477/0.6576, allocations: 3.55 MB / 469.4 MB, free: 100.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/0.659, allocations: 0.4909 MB / 469.8 MB, free: 100.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00075/0.6598, allocations: 37.14 kB / 469.9 MB, free: 100.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/0.6614, allocations: 82.55 kB / 470 MB, free: 100.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003064/0.6617, allocations: 131.5 kB / 470.1 MB, free: 100.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.6618, allocations: 40.95 kB / 470.1 MB, free: 100.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00296/0.6648, allocations: 1.572 MB / 471.7 MB, free: 99.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 3e-07/0.6648, allocations: 0 / 471.7 MB, free: 99.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002777/0.6676, allocations: 0.6706 MB / 472.4 MB, free: 99.72 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.0003687/0.668, allocations: 168.2 kB / 472.5 MB, free: 99.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003369/0.6713, allocations: 2.263 MB / 474.8 MB, free: 98.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.6714, allocations: 5.156 kB / 474.8 MB, free: 98.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.6732, allocations: 1.437 MB / 476.2 MB, free: 97.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/0.6761, allocations: 0.568 MB / 476.8 MB, free: 97.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.6874, allocations: 8.651 MB / 485.5 MB, free: 88.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002332/0.6897, allocations: 2.668 MB / 488.1 MB, free: 85.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002014/0.6918, allocations: 0.5513 MB / 488.7 MB, free: 85.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005444/0.6923, allocations: 159.4 kB / 488.8 MB, free: 85.24 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6923, allocations: 0 / 488.8 MB, free: 85.24 MB / 382.1 MB Notification: Performance of Templates: time 0.04921/0.7415, allocations: 31.18 MB / 0.5078 GB, free: 54.03 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)