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.001301/0.001301, allocations: 116.1 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001472, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002227, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2496, allocations: 50.55 MB / 410 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01223/0.2619, allocations: 11.51 MB / 421.5 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006861/0.2688, allocations: 3.923 MB / 425.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.2704, allocations: 59.81 kB / 425.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.2729, allocations: 0.8774 MB / 426.3 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003065/0.276, allocations: 0.9823 MB / 427.3 MB, free: 292 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.2775, allocations: 0.5149 MB / 427.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003829/0.2813, allocations: 3.226 MB / 431.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003479/0.2848, allocations: 2.582 MB / 433.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/0.2869, allocations: 1.456 MB / 435.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/0.2897, allocations: 1.814 MB / 436.9 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001007/0.2907, allocations: 391.9 kB / 437.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.2924, allocations: 0.6012 MB / 437.9 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001462/0.2939, allocations: 1.071 MB / 439 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002794/0.2967, allocations: 1.731 MB / 440.7 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006634/0.3033, allocations: 5.068 MB / 445.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.3034, allocations: 0 / 445.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3034, allocations: 0 / 445.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001642/0.3036, allocations: 0 / 445.8 MB, free: 13.71 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.009395/0.313, allocations: 3.582 MB / 449.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.313, allocations: 8.031 kB / 449.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.3151, allocations: 458.7 kB / 449.8 MB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003855/0.3189, allocations: 1.871 MB / 451.7 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.3191, allocations: 197.1 kB / 451.9 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000525/0.3197, allocations: 247.9 kB / 452.1 MB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005122/0.3248, allocations: 3.247 MB / 455.3 MB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.208e-05/0.3249, allocations: 4 kB / 455.4 MB, free: 3.914 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002121/0.3251, allocations: 104 kB / 455.5 MB, free: 3.812 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/0.3253, allocations: 120.9 kB / 455.6 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004436/0.3297, allocations: 2.701 MB / 458.3 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01503/0.3447, allocations: 10.28 MB / 468.5 MB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.3469, allocations: 1.774 MB / 470.3 MB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.3486, allocations: 1.049 MB / 471.4 MB, free: 3.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002741/0.3489, allocations: 207.2 kB / 471.6 MB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.3489, allocations: 51.5 kB / 471.6 MB, free: 3.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.577e-06/0.349, allocations: 3.938 kB / 471.6 MB, free: 3.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01639/0.3653, allocations: 7.452 MB / 479.1 MB, free: 11.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.3654, allocations: 64.72 kB / 479.1 MB, free: 11.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/0.3681, allocations: 1.885 MB / 481 MB, free: 9.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.3682, allocations: 49.7 kB / 481.1 MB, free: 9.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.3693, allocations: 1.287 MB / 482.4 MB, free: 8.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004282/0.3697, allocations: 495.8 kB / 482.8 MB, free: 7.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004991/0.3703, allocations: 299.4 kB / 483.1 MB, free: 7.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3704, allocations: 301.1 kB / 483.4 MB, free: 7.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.3718, allocations: 0.8159 MB / 484.3 MB, free: 6.332 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.3735, allocations: 1.304 MB / 485.6 MB, free: 4.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/0.3766, allocations: 2.254 MB / 487.8 MB, free: 2.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.3767, allocations: 4 kB / 487.8 MB, free: 2.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004847/0.3815, allocations: 2.811 MB / 490.6 MB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.3816, allocations: 8 kB / 490.6 MB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.3816, allocations: 16 kB / 490.6 MB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009952/0.3826, allocations: 418.5 kB / 491.1 MB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.3841, allocations: 411.3 kB / 491.5 MB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005784/0.3899, allocations: 5.792 MB / 497.2 MB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.3915, allocations: 131.8 kB / 497.4 MB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.3916, allocations: 68 kB / 497.4 MB, free: 8.383 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.001222/0.3928, allocations: 0.7941 MB / 498.2 MB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/0.3932, allocations: 206.7 kB / 498.4 MB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003951/0.3971, allocations: 2.403 MB / 0.4891 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.3972, allocations: 11.97 kB / 0.4891 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3972, allocations: 0 / 0.4891 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007134/0.3979, allocations: 459.6 kB / 0.4896 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/0.3982, allocations: 28 kB / 0.4896 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.3992, allocations: 103.9 kB / 0.4897 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.3995, allocations: 105.1 kB / 0.4898 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004639/0.4041, allocations: 2.401 MB / 0.4921 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004731/0.4089, allocations: 3.089 MB / 0.4951 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001273/0.4102, allocations: 0.873 MB / 0.496 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001822/0.412, allocations: 1.299 MB / 0.4973 GB, free: 12.53 MB / 430.1 MB Notification: Performance of Backend: time 5.81e-07/0.412, allocations: 0 / 0.4973 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003652/0.4157, allocations: 1.875 MB / 0.4991 GB, free: 10.6 MB / 430.1 MB Notification: Performance of SimCode: time 0.007675/0.4234, allocations: 5.374 MB / 0.5043 GB, free: 5.176 MB / 430.1 MB Notification: Performance of Templates: time 0.05151/0.4749, allocations: 31.17 MB / 0.5348 GB, free: 6.23 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)