Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 114.3 kB / 17.75 MB, free: 5.309 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.001135/0.001135, allocations: 189.3 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009463/0.0009463, allocations: 47.94 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2259, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01188/0.2378, allocations: 11.48 MB / 412.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005748/0.2435, allocations: 3.861 MB / 416.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.2446, allocations: 59.81 kB / 416.8 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.2464, allocations: 0.854 MB / 417.7 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.2484, allocations: 0.9862 MB / 418.7 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009407/0.2494, allocations: 0.5032 MB / 419.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002755/0.2521, allocations: 3.215 MB / 422.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002624/0.2548, allocations: 2.578 MB / 425 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.2562, allocations: 1.441 MB / 426.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.2582, allocations: 1.81 MB / 428.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004812/0.2587, allocations: 391.9 kB / 428.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.2597, allocations: 0.6167 MB / 429.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009297/0.2606, allocations: 1.067 MB / 430.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.2622, allocations: 1.723 MB / 432 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004128/0.2663, allocations: 5.04 MB / 437 MB, free: 5.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2663, allocations: 0 / 437 MB, free: 5.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2663, allocations: 7.938 kB / 437.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.535e-05/0.2664, allocations: 0 / 437.1 MB, free: 5.047 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.006236/0.2726, allocations: 3.484 MB / 440.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2727, allocations: 8.031 kB / 440.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.2739, allocations: 413 kB / 440.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002952/0.2769, allocations: 1.823 MB / 442.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.2771, allocations: 201.1 kB / 443 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003471/0.2774, allocations: 255.8 kB / 443.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005263/0.2827, allocations: 3.243 MB / 446.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.718e-05/0.2828, allocations: 7.938 kB / 446.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/0.283, allocations: 104 kB / 446.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/0.2831, allocations: 116.9 kB / 446.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004419/0.2876, allocations: 2.701 MB / 449.4 MB, free: 8.488 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01524/0.3028, allocations: 10.25 MB / 459.6 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.305, allocations: 1.776 MB / 461.4 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.3068, allocations: 1.045 MB / 462.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000266/0.3071, allocations: 207.2 kB / 462.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3071, allocations: 47.55 kB / 462.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.647e-06/0.3071, allocations: 0 / 462.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01754/0.3247, allocations: 7.42 MB / 470.1 MB, free: 3.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.3247, allocations: 68.72 kB / 470.2 MB, free: 3.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/0.3275, allocations: 1.876 MB / 472.1 MB, free: 1.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.3276, allocations: 45.7 kB / 472.1 MB, free: 1.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008176/0.3284, allocations: 1.245 MB / 473.4 MB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003762/0.3288, allocations: 465.3 kB / 473.8 MB, free: 15.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004766/0.3293, allocations: 303.3 kB / 474.1 MB, free: 15.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.3294, allocations: 301.1 kB / 474.4 MB, free: 14.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.3308, allocations: 0.8198 MB / 475.2 MB, free: 13.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.3325, allocations: 1.312 MB / 476.5 MB, free: 12.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/0.3358, allocations: 2.254 MB / 478.8 MB, free: 9.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.3358, allocations: 4 kB / 478.8 MB, free: 9.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004727/0.3405, allocations: 2.795 MB / 481.6 MB, free: 7.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.3406, allocations: 12 kB / 481.6 MB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/0.3406, allocations: 16 kB / 481.6 MB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009604/0.3416, allocations: 422.5 kB / 482 MB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.3431, allocations: 403.3 kB / 482.4 MB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006096/0.3492, allocations: 5.802 MB / 488.2 MB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.3507, allocations: 127.8 kB / 488.4 MB, free: 100 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.3509, allocations: 71.94 kB / 488.4 MB, free: 28 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (187): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001207/0.3521, allocations: 0.7901 MB / 489.2 MB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/0.3525, allocations: 193.7 kB / 489.4 MB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004161/0.3566, allocations: 2.395 MB / 491.8 MB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.945e-05/0.3567, allocations: 7.969 kB / 491.8 MB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3567, allocations: 0 / 491.8 MB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008795/0.3576, allocations: 450.5 kB / 492.2 MB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002949/0.3579, allocations: 27.98 kB / 492.3 MB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.3591, allocations: 115.8 kB / 492.4 MB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.3593, allocations: 101.1 kB / 492.5 MB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004967/0.3643, allocations: 2.385 MB / 494.9 MB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004646/0.3689, allocations: 3.076 MB / 497.9 MB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001289/0.3702, allocations: 0.8729 MB / 498.8 MB, free: 5.512 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001919/0.3722, allocations: 1.287 MB / 0.4884 GB, free: 4.234 MB / 414.1 MB Notification: Performance of Backend: time 4.01e-07/0.3722, allocations: 0 / 0.4884 GB, free: 4.234 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003851/0.376, allocations: 1.886 MB / 0.4902 GB, free: 2.293 MB / 414.1 MB Notification: Performance of SimCode: time 0.008261/0.3843, allocations: 5.239 MB / 0.4953 GB, free: 13 MB / 430.1 MB Notification: Performance of Templates: time 0.04915/0.4335, allocations: 31.05 MB / 0.5257 GB, free: 14.21 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1)