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.001126/0.001126, allocations: 114.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 206.8 kB / 19.41 MB, free: 3.664 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.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 68.06 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2388, allocations: 50.55 MB / 410 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01248/0.2513, allocations: 11.83 MB / 421.8 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007514/0.2589, allocations: 3.994 MB / 425.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.2606, allocations: 63.75 kB / 425.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.2629, allocations: 0.8578 MB / 426.7 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003607/0.2665, allocations: 0.9822 MB / 427.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.2677, allocations: 0.5227 MB / 428.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00383/0.2716, allocations: 3.467 MB / 431.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002953/0.2745, allocations: 2.716 MB / 434.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.2767, allocations: 1.55 MB / 435.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/0.2793, allocations: 1.942 MB / 437.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006423/0.2799, allocations: 415.9 kB / 438.3 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.2811, allocations: 0.6246 MB / 438.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.2822, allocations: 1.149 MB / 440.1 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00194/0.2841, allocations: 1.843 MB / 441.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005241/0.2894, allocations: 5.383 MB / 447.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2894, allocations: 0 / 447.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2894, allocations: 0 / 447.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001005/0.2895, allocations: 0 / 447.3 MB, free: 12.08 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.00758/0.2971, allocations: 3.73 MB / 451 MB, free: 8.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2972, allocations: 8.031 kB / 451 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.2988, allocations: 468.7 kB / 451.5 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003543/0.3024, allocations: 1.981 MB / 453.5 MB, free: 5.777 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.3025, allocations: 209.3 kB / 453.7 MB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003658/0.3029, allocations: 264 kB / 453.9 MB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005703/0.3086, allocations: 3.521 MB / 457.4 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.149e-05/0.3087, allocations: 3.906 kB / 457.5 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002531/0.309, allocations: 116 kB / 457.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/0.3091, allocations: 121.2 kB / 457.7 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005105/0.3142, allocations: 2.972 MB / 460.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01733/0.3316, allocations: 10.98 MB / 471.6 MB, free: 3.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002876/0.3345, allocations: 2.273 MB / 473.9 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.3365, allocations: 1.176 MB / 475.1 MB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003153/0.3369, allocations: 203.4 kB / 475.3 MB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.3369, allocations: 51.88 kB / 475.3 MB, free: 15.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.798e-06/0.3369, allocations: 0 / 475.3 MB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01638/0.3533, allocations: 7.516 MB / 482.8 MB, free: 7.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.3534, allocations: 68.72 kB / 482.9 MB, free: 7.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/0.3566, allocations: 1.992 MB / 484.9 MB, free: 5.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.3567, allocations: 45.7 kB / 484.9 MB, free: 5.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009716/0.3577, allocations: 1.327 MB / 486.3 MB, free: 4.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000428/0.3582, allocations: 0.5045 MB / 486.8 MB, free: 3.594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005389/0.3587, allocations: 327.2 kB / 487.1 MB, free: 3.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.3588, allocations: 305.1 kB / 487.4 MB, free: 2.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/0.3603, allocations: 0.8862 MB / 488.3 MB, free: 2.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.3621, allocations: 1.368 MB / 489.7 MB, free: 0.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003395/0.3656, allocations: 2.389 MB / 492 MB, free: 13.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.906e-05/0.3656, allocations: 4 kB / 492 MB, free: 13.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005242/0.3708, allocations: 2.978 MB / 495 MB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.3709, allocations: 15.94 kB / 495 MB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/0.3709, allocations: 12 kB / 495 MB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.3721, allocations: 472.6 kB / 495.5 MB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.3738, allocations: 427.3 kB / 495.9 MB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006588/0.3804, allocations: 6.094 MB / 0.4903 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.3821, allocations: 119.8 kB / 0.4904 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.3823, allocations: 76.08 kB / 0.4904 GB, free: 3.414 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.001477/0.3837, allocations: 0.8602 MB / 0.4913 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005841/0.3843, allocations: 213.4 kB / 0.4915 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004593/0.3889, allocations: 2.595 MB / 0.494 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/0.389, allocations: 7.969 kB / 0.494 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.389, allocations: 0 / 0.494 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.3901, allocations: 482.4 kB / 0.4945 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003913/0.3905, allocations: 28 kB / 0.4945 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.3918, allocations: 115.7 kB / 0.4946 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/0.3921, allocations: 113.1 kB / 0.4947 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005416/0.3975, allocations: 2.611 MB / 0.4973 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005007/0.4025, allocations: 3.344 MB / 0.5005 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001375/0.4039, allocations: 0.9471 MB / 0.5015 GB, free: 8.008 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00226/0.4062, allocations: 1.364 MB / 0.5028 GB, free: 6.621 MB / 430.1 MB Notification: Performance of Backend: time 3.5e-07/0.4062, allocations: 0 / 0.5028 GB, free: 6.621 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004194/0.4104, allocations: 2.001 MB / 0.5048 GB, free: 4.562 MB / 430.1 MB Notification: Performance of SimCode: time 0.00915/0.4195, allocations: 5.781 MB / 0.5104 GB, free: 14.73 MB / 446.1 MB Notification: Performance of Templates: time 0.2356/0.6552, allocations: 34.02 MB / 0.5436 GB, free: 127.7 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)