Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2289, allocations: 50.54 MB / 410 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01197/0.2409, allocations: 11.51 MB / 421.5 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006623/0.2476, allocations: 3.921 MB / 425.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.2489, allocations: 63.75 kB / 425.4 MB, free: 2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.2507, allocations: 0.8499 MB / 426.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.2529, allocations: 0.9433 MB / 427.2 MB, free: 204 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009832/0.2539, allocations: 0.5071 MB / 427.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002949/0.2568, allocations: 3.238 MB / 431 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002681/0.2595, allocations: 2.574 MB / 433.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.2613, allocations: 1.448 MB / 435 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001975/0.2632, allocations: 1.821 MB / 436.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005237/0.2638, allocations: 388 kB / 437.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.2649, allocations: 0.605 MB / 437.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008963/0.2658, allocations: 1.071 MB / 438.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001631/0.2674, allocations: 1.727 MB / 440.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004594/0.272, allocations: 5.055 MB / 445.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.272, allocations: 3.938 kB / 445.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2721, allocations: 0 / 445.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.936e-05/0.2721, allocations: 4 kB / 445.7 MB, free: 13.64 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.006707/0.2788, allocations: 3.495 MB / 449.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2789, allocations: 8.031 kB / 449.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.2805, allocations: 445 kB / 449.6 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/0.2839, allocations: 1.858 MB / 451.5 MB, free: 7.723 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.284, allocations: 197.2 kB / 451.7 MB, free: 7.527 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003615/0.2844, allocations: 248 kB / 451.9 MB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005102/0.2895, allocations: 3.247 MB / 455.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.148e-05/0.2896, allocations: 7.906 kB / 455.2 MB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/0.2898, allocations: 108 kB / 455.3 MB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.2899, allocations: 112.9 kB / 455.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004437/0.2944, allocations: 2.705 MB / 458.1 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01513/0.3095, allocations: 10.24 MB / 468.3 MB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.3118, allocations: 1.782 MB / 470.1 MB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.3135, allocations: 1.042 MB / 471.1 MB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.3138, allocations: 207.1 kB / 471.3 MB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3139, allocations: 43.56 kB / 471.4 MB, free: 3.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 5.5e-06/0.3139, allocations: 7.984 kB / 471.4 MB, free: 3.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01728/0.3312, allocations: 7.412 MB / 478.8 MB, free: 11.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.3312, allocations: 64.72 kB / 478.9 MB, free: 11.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002662/0.3339, allocations: 1.885 MB / 480.8 MB, free: 9.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.334, allocations: 49.7 kB / 480.8 MB, free: 9.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008443/0.3349, allocations: 1.241 MB / 482 MB, free: 8.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003622/0.3353, allocations: 473.2 kB / 482.5 MB, free: 7.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004617/0.3357, allocations: 299.3 kB / 482.8 MB, free: 7.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.865e-05/0.3358, allocations: 301.1 kB / 483.1 MB, free: 7.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.3372, allocations: 0.8198 MB / 483.9 MB, free: 6.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.3389, allocations: 1.304 MB / 485.2 MB, free: 4.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/0.342, allocations: 2.254 MB / 487.5 MB, free: 2.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/0.3421, allocations: 4 kB / 487.5 MB, free: 2.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004878/0.3469, allocations: 2.802 MB / 490.3 MB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.347, allocations: 20.16 kB / 490.3 MB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.347, allocations: 16 kB / 490.3 MB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009765/0.348, allocations: 417.8 kB / 490.7 MB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.3495, allocations: 403.3 kB / 491.1 MB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006077/0.3556, allocations: 5.788 MB / 496.9 MB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.3572, allocations: 123.9 kB / 497 MB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.3574, allocations: 75.98 kB / 497.1 MB, free: 8.559 MB / 414.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.001245/0.3586, allocations: 0.7978 MB / 497.9 MB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000395/0.359, allocations: 205.5 kB / 498.1 MB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004073/0.3631, allocations: 2.399 MB / 0.4888 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.3631, allocations: 3.984 kB / 0.4888 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3631, allocations: 0 / 0.4888 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009001/0.364, allocations: 450.5 kB / 0.4892 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.3643, allocations: 28 kB / 0.4892 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.3654, allocations: 107.9 kB / 0.4893 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/0.3656, allocations: 105.1 kB / 0.4894 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004749/0.3704, allocations: 2.396 MB / 0.4918 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004555/0.375, allocations: 3.08 MB / 0.4948 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001277/0.3763, allocations: 0.869 MB / 0.4956 GB, free: 14.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001855/0.3781, allocations: 1.299 MB / 0.4969 GB, free: 12.73 MB / 430.1 MB Notification: Performance of Backend: time 4.71e-07/0.3781, allocations: 0 / 0.4969 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003839/0.382, allocations: 1.884 MB / 0.4987 GB, free: 10.8 MB / 430.1 MB Notification: Performance of SimCode: time 0.007556/0.3896, allocations: 5.272 MB / 0.5039 GB, free: 5.473 MB / 430.1 MB Notification: Performance of Templates: time 0.05065/0.4402, allocations: 31.17 MB / 0.5343 GB, free: 6.531 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1)