Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001506/0.001506, allocations: 120.3 kB / 21.19 MB, free: 4.34 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001157, allocations: 213.3 kB / 24.48 MB, free: 1.359 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.033/1.033, allocations: 230.6 MB / 258.2 MB, free: 3.082 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1697/0.1697, allocations: 47.7 MB / 362.4 MB, free: 15.43 MB / 298.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002459/0.002459, allocations: 99.84 kB / 0.4978 GB, free: 3.246 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2841, allocations: 66.2 MB / 0.5624 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.009054/0.2932, allocations: 10.5 MB / 0.5727 GB, free: 3.117 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005789/0.299, allocations: 3.772 MB / 0.5763 GB, free: 15.33 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.3002, allocations: 83.5 kB / 0.5764 GB, free: 15.25 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.3017, allocations: 0.8426 MB / 0.5773 GB, free: 14.41 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.3035, allocations: 1.041 MB / 0.5783 GB, free: 13.36 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007772/0.3042, allocations: 0.5382 MB / 0.5788 GB, free: 12.82 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002502/0.3068, allocations: 3.467 MB / 0.5822 GB, free: 9.344 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.3081, allocations: 1.491 MB / 0.5836 GB, free: 7.789 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.3094, allocations: 1.592 MB / 0.5852 GB, free: 6.191 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.3111, allocations: 1.876 MB / 0.587 GB, free: 4.309 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000451/0.3116, allocations: 408 kB / 0.5874 GB, free: 3.91 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008539/0.3124, allocations: 0.6245 MB / 0.588 GB, free: 3.285 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008871/0.3133, allocations: 1.161 MB / 0.5892 GB, free: 2.121 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009734/0.3143, allocations: 1.497 MB / 0.5906 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003504/0.3178, allocations: 5.422 MB / 0.5959 GB, free: 11.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3178, allocations: 0 / 0.5959 GB, free: 11.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3178, allocations: 0 / 0.5959 GB, free: 11.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.846e-05/0.3178, allocations: 0 / 0.5959 GB, free: 11.18 MB / 442.7 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.004191/0.322, allocations: 3.757 MB / 0.5996 GB, free: 7.367 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3221, allocations: 8.031 kB / 0.5996 GB, free: 7.359 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000846/0.3229, allocations: 482.6 kB / 0.6 GB, free: 6.887 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.325, allocations: 1.922 MB / 0.6019 GB, free: 4.926 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.3251, allocations: 201.4 kB / 0.6021 GB, free: 4.727 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002538/0.3254, allocations: 268 kB / 0.6024 GB, free: 4.465 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00388/0.3293, allocations: 3.654 MB / 0.6059 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.778e-05/0.3293, allocations: 7.953 kB / 0.6059 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/0.3295, allocations: 108 kB / 0.6061 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.576e-05/0.3296, allocations: 121.2 kB / 0.6062 GB, free: 476 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003182/0.3328, allocations: 2.964 MB / 0.6091 GB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009457/0.3422, allocations: 9.573 MB / 0.6184 GB, free: 3.586 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.3438, allocations: 1.521 MB / 0.6199 GB, free: 2.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.3449, allocations: 1.087 MB / 0.621 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.3451, allocations: 49.28 kB / 0.621 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3451, allocations: 43.88 kB / 0.621 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of pre-optimization done (n=130): time 2.745e-06/0.3451, allocations: 3.938 kB / 0.621 GB, free: 0.875 MB / 458.7 MB Notification: Performance of matching and sorting (n=147): time 0.009361/0.3545, allocations: 7.021 MB / 0.6279 GB, free: 9.828 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.3545, allocations: 68.72 kB / 0.628 GB, free: 9.75 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.3563, allocations: 1.839 MB / 0.6298 GB, free: 7.91 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.336e-05/0.3564, allocations: 53.7 kB / 0.6298 GB, free: 7.852 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007535/0.3572, allocations: 1.361 MB / 0.6311 GB, free: 6.477 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.3574, allocations: 0.5307 MB / 0.6317 GB, free: 5.941 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003197/0.3577, allocations: 327.4 kB / 0.632 GB, free: 5.613 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.142e-05/0.3578, allocations: 301.1 kB / 0.6323 GB, free: 5.316 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008961/0.3587, allocations: 0.8823 MB / 0.6331 GB, free: 4.434 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.3598, allocations: 1.372 MB / 0.6345 GB, free: 2.852 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/0.3618, allocations: 2.385 MB / 0.6368 GB, free: 264 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.3618, allocations: 4 kB / 0.6368 GB, free: 260 kB / 474.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.003127/0.365, allocations: 2.888 MB / 0.6396 GB, free: 13.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.365, allocations: 8 kB / 0.6396 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.365, allocations: 16 kB / 0.6396 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006824/0.3657, allocations: 464.9 kB / 0.6401 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008478/0.3665, allocations: 427.3 kB / 0.6405 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004238/0.3708, allocations: 5.785 MB / 0.6461 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008652/0.3716, allocations: 123.8 kB / 0.6463 GB, free: 6.348 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.3717, allocations: 79.92 kB / 0.6463 GB, free: 6.27 MB / 490.7 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 (198): * Single equations (assignments): 193 * 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.001293/0.373, allocations: 0.8485 MB / 0.6472 GB, free: 5.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/0.3733, allocations: 206.7 kB / 0.6474 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/0.3759, allocations: 2.491 MB / 0.6498 GB, free: 2.688 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.376, allocations: 19.98 kB / 0.6498 GB, free: 2.668 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.376, allocations: 4 kB / 0.6498 GB, free: 2.664 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.376, allocations: 11.97 kB / 0.6498 GB, free: 2.652 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005556/0.3815, allocations: 4.838 MB / 0.6546 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.3815, allocations: 0 / 0.6546 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006173/0.3822, allocations: 284 kB / 0.6548 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007266/0.3829, allocations: 0.4903 MB / 0.6553 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.7e-05/0.383, allocations: 39.97 kB / 0.6553 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005986/0.3889, allocations: 7.237 MB / 0.6624 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3889, allocations: 4 kB / 0.6624 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00372/0.3927, allocations: 3.741 MB / 0.6661 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005964/0.3933, allocations: 390.5 kB / 0.6664 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.3934, allocations: 39.92 kB / 0.6665 GB, free: 1.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005779/0.394, allocations: 95.89 kB / 0.6666 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.3942, allocations: 133 kB / 0.6667 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.069e-05/0.3942, allocations: 39.98 kB / 0.6667 GB, free: 0.8594 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001222/0.3955, allocations: 1.243 MB / 0.6679 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3955, allocations: 3.938 kB / 0.668 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001482/0.3969, allocations: 0.5781 MB / 0.6685 GB, free: 15.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * 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 simulation (124): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003829/0.3973, allocations: 218.7 kB / 0.6687 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002674/0.4, allocations: 2.442 MB / 0.6711 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4, allocations: 0 / 0.6711 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001588/0.4016, allocations: 1.553 MB / 0.6726 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4027, allocations: 426.7 kB / 0.673 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006307/0.409, allocations: 5.739 MB / 0.6786 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/0.4103, allocations: 1.557 MB / 0.6802 GB, free: 2.934 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/0.4106, allocations: 143.4 kB / 0.6803 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of SimCode: time 7.62e-07/0.4106, allocations: 0 / 0.6803 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of Templates: time 0.2884/0.699, allocations: 75.82 MB / 0.7543 GB, free: 78.1 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.783041871152818]