Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001369/0.001369, allocations: 112.1 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001547/0.001547, allocations: 206.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2252, allocations: 50.53 MB / 409.9 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01221/0.2374, allocations: 11.84 MB / 421.8 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00652/0.244, allocations: 3.99 MB / 425.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.2454, allocations: 63.75 kB / 425.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.2474, allocations: 0.889 MB / 426.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.2497, allocations: 1.025 MB / 427.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.2507, allocations: 0.5266 MB / 428.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00346/0.2542, allocations: 3.467 MB / 431.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002809/0.257, allocations: 2.708 MB / 434.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.2588, allocations: 1.557 MB / 436 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002472/0.2613, allocations: 1.938 MB / 438 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006081/0.262, allocations: 408 kB / 438.4 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.2632, allocations: 0.6323 MB / 439 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.2642, allocations: 1.149 MB / 440.1 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001807/0.266, allocations: 1.843 MB / 442 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005226/0.2713, allocations: 5.403 MB / 447.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2713, allocations: 0 / 447.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2713, allocations: 4 kB / 447.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.923e-05/0.2714, allocations: 0 / 447.4 MB, free: 12.11 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.00764/0.2791, allocations: 3.817 MB / 451.2 MB, free: 8.223 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.2791, allocations: 12.03 kB / 451.2 MB, free: 8.211 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.2808, allocations: 486.5 kB / 451.7 MB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003297/0.2841, allocations: 1.99 MB / 453.7 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.2842, allocations: 205.4 kB / 453.9 MB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003883/0.2846, allocations: 268 kB / 454.1 MB, free: 5.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005582/0.2902, allocations: 3.525 MB / 457.7 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.458e-05/0.2903, allocations: 8 kB / 457.7 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/0.2906, allocations: 112 kB / 457.8 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.2907, allocations: 117.3 kB / 457.9 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004811/0.2955, allocations: 2.964 MB / 460.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01636/0.3119, allocations: 11 MB / 471.9 MB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/0.3147, allocations: 2.277 MB / 474.1 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001994/0.3168, allocations: 1.18 MB / 475.3 MB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003031/0.3171, allocations: 207.5 kB / 475.5 MB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.3171, allocations: 47.88 kB / 475.6 MB, free: 15.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.758e-06/0.3171, allocations: 3.938 kB / 475.6 MB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01595/0.3331, allocations: 7.56 MB / 483.1 MB, free: 7.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.3332, allocations: 68.72 kB / 483.2 MB, free: 7.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003282/0.3365, allocations: 1.988 MB / 485.2 MB, free: 5.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.3366, allocations: 53.7 kB / 485.2 MB, free: 5.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009174/0.3375, allocations: 1.346 MB / 486.6 MB, free: 3.934 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004157/0.3379, allocations: 0.5346 MB / 487.1 MB, free: 3.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005424/0.3385, allocations: 323.5 kB / 487.4 MB, free: 3.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.3386, allocations: 301.1 kB / 487.7 MB, free: 2.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.3401, allocations: 0.8901 MB / 488.6 MB, free: 1.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/0.3419, allocations: 1.371 MB / 490 MB, free: 308 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003379/0.3453, allocations: 2.385 MB / 492.4 MB, free: 13.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/0.3453, allocations: 4 kB / 492.4 MB, free: 13.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00519/0.3505, allocations: 2.994 MB / 495.4 MB, free: 10.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.3505, allocations: 15.94 kB / 495.4 MB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.689e-05/0.3506, allocations: 16 kB / 495.4 MB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.3517, allocations: 461 kB / 495.9 MB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.3534, allocations: 431.3 kB / 496.3 MB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006588/0.36, allocations: 6.102 MB / 0.4906 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.3617, allocations: 123.9 kB / 0.4907 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/0.3619, allocations: 75.98 kB / 0.4908 GB, free: 3.195 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * 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,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001508/0.3634, allocations: 0.8486 MB / 0.4916 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005608/0.364, allocations: 226.5 kB / 0.4918 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004712/0.3687, allocations: 2.599 MB / 0.4944 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.3688, allocations: 7.969 kB / 0.4944 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3688, allocations: 4 kB / 0.4944 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.3699, allocations: 487.5 kB / 0.4949 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004792/0.3703, allocations: 39.92 kB / 0.4949 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.3717, allocations: 103.8 kB / 0.495 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002802/0.372, allocations: 125 kB / 0.4951 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005653/0.3776, allocations: 2.604 MB / 0.4977 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005229/0.3829, allocations: 3.35 MB / 0.5009 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001456/0.3843, allocations: 0.9549 MB / 0.5019 GB, free: 7.758 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00251/0.3869, allocations: 1.364 MB / 0.5032 GB, free: 6.371 MB / 430.1 MB Notification: Performance of Backend: time 7.91e-07/0.3869, allocations: 0 / 0.5032 GB, free: 6.371 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005372/0.3923, allocations: 2.016 MB / 0.5052 GB, free: 4.301 MB / 430.1 MB Notification: Performance of SimCode: time 0.01079/0.4031, allocations: 5.857 MB / 0.5109 GB, free: 14.39 MB / 446.1 MB Notification: Performance of Templates: time 0.2369/0.64, allocations: 34.02 MB / 0.5441 GB, free: 128.1 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1)