Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 108.5 kB / 17.06 MB, free: 5.992 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.001696/0.001697, allocations: 188 kB / 18 MB, free: 5.086 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.347/1.347, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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.001166/0.001166, allocations: 52.41 kB / 327.9 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08296/0.08413, allocations: 46.62 MB / 374.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.2046/0.2887, allocations: 41.26 MB / 415.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02576/0.3145, allocations: 11.08 MB / 426.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008651/0.3232, allocations: 254.6 kB / 427.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01807/0.3414, allocations: 7.911 MB / 435 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01255/0.3539, allocations: 3.643 MB / 438.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006417/0.3604, allocations: 2.308 MB / 441 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01606/0.3764, allocations: 12.65 MB / 453.6 MB, free: 344 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03161/0.4081, allocations: 23.54 MB / 477.2 MB, free: 8.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008856/0.417, allocations: 6.432 MB / 483.6 MB, free: 2.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01064/0.4276, allocations: 7.279 MB / 490.9 MB, free: 10.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004723/0.4324, allocations: 1.844 MB / 492.7 MB, free: 9.027 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008021/0.4404, allocations: 2.253 MB / 495 MB, free: 6.777 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007758/0.4483, allocations: 3.717 MB / 498.7 MB, free: 3.051 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01438/0.4627, allocations: 7.194 MB / 0.494 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02963/0.4923, allocations: 24.18 MB / 0.5176 GB, free: 3.578 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4924, allocations: 0 / 0.5176 GB, free: 3.578 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4924, allocations: 0 / 0.5176 GB, free: 3.578 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006467/0.493, allocations: 0 / 0.5176 GB, free: 3.578 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.04446/0.5375, allocations: 14.44 MB / 0.5318 GB, free: 5.023 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.5376, allocations: 8.031 kB / 0.5318 GB, free: 5.016 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03631/0.5739, allocations: 6.174 MB / 0.5378 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01561/0.5895, allocations: 7.083 MB / 0.5447 GB, free: 7.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007602/0.5903, allocations: 0.8429 MB / 0.5455 GB, free: 6.816 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004086/0.5944, allocations: 1.109 MB / 0.5466 GB, free: 5.707 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.385/0.9794, allocations: 17.16 MB / 0.5634 GB, free: 131.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003399/0.9798, allocations: 16.03 kB / 0.5634 GB, free: 131.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001778/0.9816, allocations: 470.6 kB / 0.5638 GB, free: 131.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006198/0.9822, allocations: 0.611 MB / 0.5644 GB, free: 131.4 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02979/1.012, allocations: 15.57 MB / 0.5796 GB, free: 125.6 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08108/1.093, allocations: 57.87 MB / 0.6361 GB, free: 73.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01585/1.109, allocations: 20.88 MB / 0.6565 GB, free: 50.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004898/1.114, allocations: 3.306 MB / 0.6598 GB, free: 46.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01473/1.129, allocations: 9.531 MB / 0.6691 GB, free: 37.26 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.81e-05/1.129, allocations: 69.56 kB / 0.6691 GB, free: 37.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=313): time 5.48e-06/1.129, allocations: 0 / 0.6691 GB, free: 37.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=340): time 0.02957/1.158, allocations: 16.79 MB / 0.6855 GB, free: 20.19 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/1.158, allocations: 112.4 kB / 0.6856 GB, free: 20.06 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006445/1.165, allocations: 5.412 MB / 0.6909 GB, free: 14.67 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006263/1.166, allocations: 85.7 kB / 0.691 GB, free: 14.58 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002275/1.168, allocations: 5.345 MB / 0.6962 GB, free: 9.207 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.169, allocations: 1.196 MB / 0.6974 GB, free: 8.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001621/1.171, allocations: 1.341 MB / 0.6987 GB, free: 6.668 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.002e-05/1.171, allocations: 317 kB / 0.699 GB, free: 6.355 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003532/1.174, allocations: 2.742 MB / 0.7017 GB, free: 3.609 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005341/1.179, allocations: 5.803 MB / 0.7074 GB, free: 12.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/1.191, allocations: 8.962 MB / 0.7161 GB, free: 1.914 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.512e-05/1.191, allocations: 35.94 kB / 0.7161 GB, free: 1.879 MB / 494.1 MB Notification: Performance of matching and sorting (n=867) (initialization): time 0.01751/1.208, allocations: 9.675 MB / 0.7256 GB, free: 8.121 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 6.789e-05/1.208, allocations: 48 kB / 0.7256 GB, free: 8.074 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001402/1.208, allocations: 104 kB / 0.7257 GB, free: 7.973 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0025/1.211, allocations: 0.9281 MB / 0.7266 GB, free: 7.035 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005619/1.217, allocations: 1.583 MB / 0.7282 GB, free: 5.449 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/1.23, allocations: 10.52 MB / 0.7385 GB, free: 10.52 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005753/1.235, allocations: 431.2 kB / 0.7389 GB, free: 10.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/1.236, allocations: 364 kB / 0.7392 GB, free: 9.746 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (818): * Single equations (assignments): 813 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(8,26,67.2%), (2,8,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006532/1.243, allocations: 3.829 MB / 0.743 GB, free: 5.902 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/1.244, allocations: 0.5209 MB / 0.7435 GB, free: 5.375 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2177/1.462, allocations: 5.887 MB / 0.7492 GB, free: 162.7 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00561/1.468, allocations: 3.046 MB / 0.7522 GB, free: 162.6 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.206e-05/1.468, allocations: 15.47 kB / 0.7522 GB, free: 162.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.453e-05/1.468, allocations: 14.3 kB / 0.7522 GB, free: 162.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02562/1.493, allocations: 14.68 MB / 0.7666 GB, free: 157.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/1.493, allocations: 8.5 kB / 0.7666 GB, free: 157.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00261/1.496, allocations: 0.5959 MB / 0.7671 GB, free: 157.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002385/1.498, allocations: 0.8959 MB / 0.768 GB, free: 157 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002423/1.499, allocations: 79.25 kB / 0.7681 GB, free: 157 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/1.512, allocations: 14.02 MB / 0.7818 GB, free: 146.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/1.512, allocations: 9 kB / 0.7818 GB, free: 146.3 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/1.524, allocations: 8.511 MB / 0.7901 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00324/1.528, allocations: 0.9994 MB / 0.7911 GB, free: 142.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007488/1.528, allocations: 63.94 kB / 0.7911 GB, free: 142.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002471/1.531, allocations: 201.4 kB / 0.7913 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000636/1.532, allocations: 253.8 kB / 0.7916 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002283/1.532, allocations: 109.8 kB / 0.7917 GB, free: 142 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004894/1.537, allocations: 3.576 MB / 0.7952 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.31e-07/1.537, allocations: 0 / 0.7952 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006274/1.543, allocations: 1.823 MB / 0.797 GB, free: 140.6 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smeeQS.short.port_p.reference.gamma,mechanicalPowerSensorQS.relSpeedSensor.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (298): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,8,100.0%), (1,4,100.0%), (1,8,100.0%), (3,4,77.8%), (8,26,64.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006032/1.544, allocations: 264.5 kB / 0.7972 GB, free: 140.4 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.009954/1.554, allocations: 7.098 MB / 0.8041 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/1.554, allocations: 6.344 kB / 0.8041 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.004889/1.558, allocations: 3.394 MB / 0.8075 GB, free: 135.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005068/1.564, allocations: 1.189 MB / 0.8086 GB, free: 135.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02608/1.59, allocations: 18.28 MB / 0.8265 GB, free: 119.1 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005719/1.595, allocations: 6.67 MB / 0.833 GB, free: 113.4 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005341/1.601, allocations: 1.933 MB / 0.8349 GB, free: 111.4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/1.602, allocations: 387.4 kB / 0.8352 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of SimCode: time 9.42e-07/1.602, allocations: 0 / 0.8352 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of Templates: time 0.1034/1.705, allocations: 69.78 MB / 0.9034 GB, free: 41.31 MB / 0.5138 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1)