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.001327/0.001327, allocations: 108.6 kB / 16.51 MB, free: 6.691 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.001099/0.001099, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.278/1.278, allocations: 205.1 MB / 223.3 MB, free: 12.52 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.002206/0.002206, allocations: 47.94 kB / 279.4 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1316, allocations: 46.63 MB / 326 MB, free: 4.871 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04656/0.1783, allocations: 40.53 MB / 366.5 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02435/0.2027, allocations: 10.95 MB / 377.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008411/0.2111, allocations: 247.1 kB / 377.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1725/0.3837, allocations: 7.368 MB / 385.1 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.3942, allocations: 3.312 MB / 388.4 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006121/0.4003, allocations: 2.126 MB / 390.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01481/0.4152, allocations: 12.71 MB / 403.2 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02859/0.4438, allocations: 19.22 MB / 422.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00948/0.4533, allocations: 5.523 MB / 428 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01059/0.4639, allocations: 6.893 MB / 434.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003877/0.4678, allocations: 1.188 MB / 436.1 MB, free: 52 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00638/0.4742, allocations: 1.604 MB / 437.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003987/0.4782, allocations: 3.042 MB / 440.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0112/0.4895, allocations: 6.5 MB / 447.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02363/0.5131, allocations: 23.58 MB / 470.8 MB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.5132, allocations: 0 / 470.8 MB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5132, allocations: 0 / 470.8 MB, free: 13.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005742/0.5138, allocations: 4 kB / 470.8 MB, free: 13.82 MB / 382.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.03732/0.5511, allocations: 14.47 MB / 485.3 MB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.5511, allocations: 8.031 kB / 485.3 MB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03347/0.5846, allocations: 6.149 MB / 491.4 MB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/0.5988, allocations: 6.975 MB / 498.4 MB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000681/0.5995, allocations: 0.854 MB / 499.2 MB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002864/0.6023, allocations: 1.106 MB / 0.4886 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03697/0.6393, allocations: 17.2 MB / 0.5054 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003117/0.6397, allocations: 19.83 kB / 0.5054 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00199/0.6417, allocations: 470.9 kB / 0.5059 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005661/0.6422, allocations: 0.6052 MB / 0.5065 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03251/0.6748, allocations: 15.58 MB / 0.5217 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3881/1.063, allocations: 58.58 MB / 0.5789 GB, free: 112.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0155/1.078, allocations: 20.94 MB / 0.5994 GB, free: 92.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004983/1.083, allocations: 3.363 MB / 0.6026 GB, free: 90.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0137/1.097, allocations: 9.691 MB / 0.6121 GB, free: 84.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/1.097, allocations: 76.41 kB / 0.6122 GB, free: 84.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=319): time 5.059e-06/1.097, allocations: 3.625 kB / 0.6122 GB, free: 84.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=346): time 0.0298/1.127, allocations: 16.92 MB / 0.6287 GB, free: 69.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/1.127, allocations: 120.4 kB / 0.6288 GB, free: 69.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006324/1.134, allocations: 5.408 MB / 0.6341 GB, free: 63.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000403/1.134, allocations: 81.7 kB / 0.6342 GB, free: 63.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001919/1.136, allocations: 5.335 MB / 0.6394 GB, free: 58.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008004/1.137, allocations: 1.223 MB / 0.6406 GB, free: 57.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001551/1.138, allocations: 1.353 MB / 0.6419 GB, free: 55.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.401e-05/1.138, allocations: 309.1 kB / 0.6422 GB, free: 55.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003485/1.142, allocations: 2.785 MB / 0.6449 GB, free: 52.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004529/1.146, allocations: 5.845 MB / 0.6506 GB, free: 45.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008299/1.155, allocations: 9.053 MB / 0.6595 GB, free: 34.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.865e-05/1.155, allocations: 28 kB / 0.6595 GB, free: 34.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01369/1.168, allocations: 9.769 MB / 0.669 GB, free: 25.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.526e-05/1.168, allocations: 48 kB / 0.6691 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/1.169, allocations: 104 kB / 0.6692 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002151/1.171, allocations: 0.9482 MB / 0.6701 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004738/1.175, allocations: 1.575 MB / 0.6716 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009223/1.185, allocations: 9.784 MB / 0.6812 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005101/1.19, allocations: 431.1 kB / 0.6816 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005296/1.19, allocations: 364 kB / 0.682 GB, free: 11.45 MB / 446.1 MB 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 (821): * Single equations (assignments): 813 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004923/1.195, allocations: 3.841 MB / 0.6857 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009292/1.196, allocations: 0.5131 MB / 0.6862 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008644/1.205, allocations: 6 MB / 0.6921 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004612/1.21, allocations: 3.123 MB / 0.6951 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.731e-05/1.21, allocations: 12 kB / 0.6951 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-05/1.21, allocations: 19.94 kB / 0.6952 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1898/1.399, allocations: 14.85 MB / 0.7096 GB, free: 145.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.578e-05/1.399, allocations: 4.969 kB / 0.7097 GB, free: 145.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003108/1.403, allocations: 0.5961 MB / 0.7102 GB, free: 145.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002606/1.405, allocations: 0.9079 MB / 0.7111 GB, free: 145.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003444/1.406, allocations: 79.39 kB / 0.7112 GB, free: 145.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/1.418, allocations: 12.89 MB / 0.7238 GB, free: 137.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.418, allocations: 5.906 kB / 0.7238 GB, free: 137.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/1.431, allocations: 8.667 MB / 0.7323 GB, free: 133.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002471/1.434, allocations: 1.007 MB / 0.7332 GB, free: 133.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006751/1.434, allocations: 63.78 kB / 0.7333 GB, free: 133.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002235/1.437, allocations: 206.5 kB / 0.7335 GB, free: 133.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006354/1.437, allocations: 258.3 kB / 0.7337 GB, free: 133.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002208/1.438, allocations: 100.8 kB / 0.7338 GB, free: 133 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004542/1.442, allocations: 3.591 MB / 0.7373 GB, free: 131.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.442, allocations: 0 / 0.7373 GB, free: 131.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006261/1.448, allocations: 1.833 MB / 0.7391 GB, free: 131.6 MB / 462.1 MB 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 (301): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005932/1.449, allocations: 280.2 kB / 0.7394 GB, free: 131.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01007/1.459, allocations: 7.178 MB / 0.7464 GB, free: 128.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.459, allocations: 0 / 0.7464 GB, free: 128.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005033/1.464, allocations: 3.454 MB / 0.7498 GB, free: 126.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006114/1.47, allocations: 1.12 MB / 0.7509 GB, free: 126.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03357/1.504, allocations: 23.25 MB / 0.7736 GB, free: 108.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008992/1.513, allocations: 6.667 MB / 0.7801 GB, free: 102.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006739/1.52, allocations: 1.932 MB / 0.782 GB, free: 100.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001625/1.521, allocations: 395.3 kB / 0.7824 GB, free: 100.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.393e-06/1.521, allocations: 0 / 0.7824 GB, free: 100.4 MB / 462.1 MB Notification: Performance of Templates: time 0.1125/1.634, allocations: 72.33 MB / 0.853 GB, free: 27.98 MB / 462.1 MB 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)