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.005338/0.005338, allocations: 99.94 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.001117/0.001117, allocations: 198.9 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.513/1.513, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001244/0.001244, allocations: 51.53 kB / 326.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.12, allocations: 46.63 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.0212/0.1413, allocations: 16.57 MB / 389.8 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.1538, allocations: 5.445 MB / 395.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004098/0.158, allocations: 91.62 kB / 395.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00457/0.1626, allocations: 1.278 MB / 396.6 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007712/0.1704, allocations: 1.635 MB / 398.2 MB, free: 8.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003762/0.1742, allocations: 1.065 MB / 399.3 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008979/0.1832, allocations: 5.122 MB / 404.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006441/0.1896, allocations: 3.842 MB / 408.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004057/0.1937, allocations: 2.188 MB / 410.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005925/0.1997, allocations: 2.603 MB / 413 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002584/0.2023, allocations: 0.6094 MB / 413.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004424/0.2067, allocations: 0.824 MB / 414.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003697/0.2104, allocations: 1.426 MB / 415.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007132/0.2176, allocations: 2.637 MB / 418.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01632/0.2339, allocations: 8.073 MB / 426.6 MB, free: 11.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.234, allocations: 0 / 426.6 MB, free: 11.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.234, allocations: 0 / 426.6 MB, free: 11.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003585/0.2344, allocations: 4 kB / 426.6 MB, free: 11.6 MB / 366.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.01942/0.2538, allocations: 5.37 MB / 432 MB, free: 6.148 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2538, allocations: 8.031 kB / 432 MB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006021/0.2599, allocations: 0.9908 MB / 433 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006683/0.2666, allocations: 2.808 MB / 435.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003276/0.2669, allocations: 312.2 kB / 436.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001383/0.2683, allocations: 388 kB / 436.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/0.2809, allocations: 5.213 MB / 441.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/0.281, allocations: 7.844 kB / 441.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000747/0.2818, allocations: 168 kB / 441.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001756/0.282, allocations: 168 kB / 442 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009654/0.2917, allocations: 4.447 MB / 446.5 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2765/0.5682, allocations: 16.57 MB / 463 MB, free: 36.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007089/0.5753, allocations: 8.421 MB / 471.5 MB, free: 30.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003703/0.5791, allocations: 1.697 MB / 473.2 MB, free: 30 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008849/0.588, allocations: 4.937 MB / 478.1 MB, free: 28.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.5881, allocations: 55.97 kB / 478.1 MB, free: 28.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=156): time 3.817e-06/0.5881, allocations: 0 / 478.1 MB, free: 28.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.01126/0.5993, allocations: 6.11 MB / 484.3 MB, free: 25.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.5994, allocations: 71.7 kB / 484.3 MB, free: 25.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004194/0.6036, allocations: 2.286 MB / 486.6 MB, free: 24.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.989e-05/0.6037, allocations: 53.36 kB / 486.7 MB, free: 24.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.6048, allocations: 1.851 MB / 488.5 MB, free: 23.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/0.6051, allocations: 0.5417 MB / 489.1 MB, free: 22.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005932/0.6057, allocations: 404.5 kB / 489.5 MB, free: 22.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.6058, allocations: 305.1 kB / 489.8 MB, free: 22.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.6071, allocations: 0.8392 MB / 490.6 MB, free: 21.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.6088, allocations: 1.563 MB / 492.2 MB, free: 20.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/0.6118, allocations: 2.556 MB / 494.7 MB, free: 18.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.021e-05/0.6118, allocations: 6.938 kB / 494.7 MB, free: 18.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004263/0.6161, allocations: 2.875 MB / 497.6 MB, free: 17.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.6162, allocations: 19.45 kB / 497.6 MB, free: 17.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.26e-05/0.6162, allocations: 23.72 kB / 497.6 MB, free: 17.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/0.6166, allocations: 126.7 kB / 497.8 MB, free: 17.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/0.6184, allocations: 0.5402 MB / 498.3 MB, free: 17.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.6199, allocations: 1.993 MB / 0.4886 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.6218, allocations: 104 kB / 0.4887 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/0.622, allocations: 108.9 kB / 0.4888 GB, free: 15.64 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.002427/0.6244, allocations: 1.184 MB / 0.4899 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004585/0.6249, allocations: 253.9 kB / 0.4902 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003797/0.6287, allocations: 2.431 MB / 0.4925 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.6287, allocations: 19.98 kB / 0.4926 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/0.6287, allocations: 7.938 kB / 0.4926 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.6287, allocations: 7.969 kB / 0.4926 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009312/0.638, allocations: 5.768 MB / 0.4982 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.6381, allocations: 224 / 0.4982 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.6393, allocations: 290.1 kB / 0.4985 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007787/0.6401, allocations: 321.8 kB / 0.4988 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.6402, allocations: 39.98 kB / 0.4988 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005418/0.6456, allocations: 6.95 MB / 0.5056 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.6456, allocations: 7.969 kB / 0.5056 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006844/0.6525, allocations: 3.548 MB / 0.5091 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001676/0.6542, allocations: 0.4954 MB / 0.5096 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009405/0.6552, allocations: 36 kB / 0.5096 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/0.6569, allocations: 83.92 kB / 0.5097 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003485/0.6573, allocations: 119.5 kB / 0.5098 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.6574, allocations: 43.92 kB / 0.5098 GB, free: 10.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003992/0.6614, allocations: 1.556 MB / 0.5114 GB, free: 8.965 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.52e-07/0.6614, allocations: 4 kB / 0.5114 GB, free: 8.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003935/0.6654, allocations: 0.668 MB / 0.512 GB, free: 8.293 MB / 398.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.0004638/0.6658, allocations: 177.2 kB / 0.5122 GB, free: 8.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00452/0.6704, allocations: 2.267 MB / 0.5144 GB, free: 5.918 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.6704, allocations: 4 kB / 0.5144 GB, free: 5.914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002452/0.6728, allocations: 1.429 MB / 0.5158 GB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003394/0.6763, allocations: 0.601 MB / 0.5164 GB, free: 3.887 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/0.6908, allocations: 6.877 MB / 0.5231 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003763/0.6946, allocations: 2.668 MB / 0.5257 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002341/0.697, allocations: 0.5552 MB / 0.5262 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006074/0.6976, allocations: 159.4 kB / 0.5264 GB, free: 9.582 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6976, allocations: 0 / 0.5264 GB, free: 9.582 MB / 414.1 MB Notification: Performance of Templates: time 0.06067/0.7583, allocations: 30.83 MB / 0.5565 GB, free: 10.82 MB / 446.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)