Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0008826/0.0008826, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009193/0.0009193, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004421/0.0004421, allocations: 16 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2553, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01519/0.2705, allocations: 14.59 MB / 341.1 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.2815, allocations: 5.068 MB / 346.1 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003438/0.285, allocations: 87.62 kB / 346.2 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003575/0.2886, allocations: 0.944 MB / 347.2 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005402/0.294, allocations: 1.309 MB / 348.5 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003026/0.297, allocations: 0.7211 MB / 349.2 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01033/0.3074, allocations: 4.958 MB / 354.2 MB, free: 7.738 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007516/0.3149, allocations: 2.681 MB / 356.8 MB, free: 5.004 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003933/0.3189, allocations: 1.576 MB / 358.4 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004064/0.323, allocations: 2.038 MB / 360.5 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001531/0.3246, allocations: 256 kB / 360.7 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002767/0.3274, allocations: 459.8 kB / 361.2 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002037/0.3294, allocations: 0.973 MB / 362.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002537/0.332, allocations: 0.9057 MB / 363 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009755/0.3417, allocations: 6.572 MB / 369.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.3418, allocations: 4 kB / 369.6 MB, free: 8.191 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.3418, allocations: 0 / 369.6 MB, free: 8.191 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003392/0.3421, allocations: 0 / 369.6 MB, free: 8.191 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.0137/0.3558, allocations: 4.591 MB / 374.2 MB, free: 3.523 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3559, allocations: 8.031 kB / 374.2 MB, free: 3.516 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005994/0.3619, allocations: 1.002 MB / 375.2 MB, free: 2.508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006926/0.3689, allocations: 2.629 MB / 377.8 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003489/0.3692, allocations: 312 kB / 378.1 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/0.3705, allocations: 403.9 kB / 378.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/0.3822, allocations: 5.197 MB / 383.7 MB, free: 9.836 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.394e-05/0.3823, allocations: 4 kB / 383.7 MB, free: 9.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003717/0.3827, allocations: 164 kB / 383.9 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001747/0.3829, allocations: 176 kB / 384.1 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008869/0.3918, allocations: 4.443 MB / 388.5 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02992/0.4217, allocations: 16.94 MB / 405.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00823/0.43, allocations: 8.415 MB / 413.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003261/0.4333, allocations: 1.729 MB / 415.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009469/0.4428, allocations: 5.008 MB / 420.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/0.4429, allocations: 43.88 kB / 420.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=156): time 3.797e-06/0.4429, allocations: 4 kB / 420.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=159): time 0.01501/0.4579, allocations: 6.221 MB / 426.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.458, allocations: 72.7 kB / 426.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006126/0.4642, allocations: 2.286 MB / 429.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.4643, allocations: 53.7 kB / 429.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001917/0.4663, allocations: 1.852 MB / 431.1 MB, free: 8.473 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005531/0.4668, allocations: 0.543 MB / 431.7 MB, free: 7.922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.467, allocations: 44 kB / 431.7 MB, free: 7.879 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002198/0.4672, allocations: 394.2 kB / 432.1 MB, free: 7.488 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.4688, allocations: 0.8475 MB / 433 MB, free: 6.637 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002169/0.471, allocations: 1.571 MB / 434.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001986/0.473, allocations: 1.126 MB / 435.7 MB, free: 3.609 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-05/0.473, allocations: 8 kB / 435.7 MB, free: 3.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005207/0.4783, allocations: 2.895 MB / 438.6 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.4783, allocations: 26.89 kB / 438.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-05/0.4783, allocations: 24 kB / 438.6 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003554/0.4787, allocations: 126.2 kB / 438.7 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/0.4807, allocations: 0.5578 MB / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.4826, allocations: 1.818 MB / 441.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.4845, allocations: 115.9 kB / 441.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/0.4847, allocations: 96 kB / 441.3 MB, free: 13.77 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002554/0.4873, allocations: 1.196 MB / 442.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006908/0.488, allocations: 241.1 kB / 442.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004734/0.4927, allocations: 2.472 MB / 445.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.4927, allocations: 20 kB / 445.2 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/0.4928, allocations: 7.828 kB / 445.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.4928, allocations: 7.969 kB / 445.3 MB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.5035, allocations: 5.833 MB / 451.1 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.5035, allocations: 0 / 451.1 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.5048, allocations: 295.8 kB / 451.4 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008429/0.5056, allocations: 326.2 kB / 451.7 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.5058, allocations: 39.98 kB / 451.7 MB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2303/0.7361, allocations: 6.377 MB / 458.1 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.7361, allocations: 4.594 kB / 458.1 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006157/0.7423, allocations: 3.595 MB / 461.7 MB, free: 104 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.7435, allocations: 0.4951 MB / 462.2 MB, free: 103.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000303/0.7439, allocations: 38.02 kB / 462.2 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.7449, allocations: 89.27 kB / 462.3 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/0.7452, allocations: 125.2 kB / 462.4 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.563e-05/0.7453, allocations: 41.98 kB / 462.5 MB, free: 103.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00232/0.7477, allocations: 1.554 MB / 464 MB, free: 103.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7477, allocations: 0 / 464 MB, free: 103.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00213/0.7498, allocations: 0.6731 MB / 464.7 MB, free: 103 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003453/0.7502, allocations: 170 kB / 464.9 MB, free: 102.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003172/0.7533, allocations: 2.28 MB / 467.2 MB, free: 102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7534, allocations: 0 / 467.2 MB, free: 102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.7553, allocations: 1.459 MB / 468.6 MB, free: 101.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/0.7577, allocations: 0.5777 MB / 469.2 MB, free: 101 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.7682, allocations: 8.38 MB / 477.6 MB, free: 96.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001895/0.7702, allocations: 2.66 MB / 480.2 MB, free: 93.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001933/0.7721, allocations: 0.5513 MB / 480.8 MB, free: 93.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004192/0.7725, allocations: 167.4 kB / 481 MB, free: 93.2 MB / 382.1 MB Notification: Performance of SimCode: time 1.253e-06/0.7726, allocations: 0 / 481 MB, free: 93.2 MB / 382.1 MB Notification: Performance of Templates: time 0.04878/0.8213, allocations: 30.07 MB / 0.4991 GB, free: 63.09 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1)