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.001892/0.001892, allocations: 115.3 kB / 20.44 MB, free: 4.602 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.002037/0.002037, allocations: 213.3 kB / 23.73 MB, free: 2.125 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.748/1.748, allocations: 230.5 MB / 257.4 MB, free: 9.48 MB / 202.7 MB " [Timeout remaining time 178] 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.3166/0.3166, allocations: 47.7 MB / 361.6 MB, free: 2.348 MB / 282.7 MB " [Timeout remaining time 179] 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.005648/0.005648, allocations: 100.3 kB / 0.4978 GB, free: 6.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1619, allocations: 66.21 MB / 0.5624 GB, free: 4.586 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.3107/0.4726, allocations: 10.51 MB / 0.5727 GB, free: 10.03 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009112/0.4818, allocations: 3.766 MB / 0.5764 GB, free: 7.512 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002904/0.4847, allocations: 86.97 kB / 0.5764 GB, free: 7.473 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002949/0.4876, allocations: 0.8387 MB / 0.5773 GB, free: 7.066 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004229/0.4918, allocations: 1.037 MB / 0.5783 GB, free: 6.402 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.4937, allocations: 0.5312 MB / 0.5788 GB, free: 6.078 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004662/0.4983, allocations: 3.475 MB / 0.5822 GB, free: 4.336 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00291/0.5012, allocations: 1.483 MB / 0.5836 GB, free: 3.574 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003134/0.5044, allocations: 1.594 MB / 0.5852 GB, free: 2.816 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004105/0.5085, allocations: 1.878 MB / 0.587 GB, free: 2.023 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001369/0.5098, allocations: 408.7 kB / 0.5874 GB, free: 2.023 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002706/0.5126, allocations: 0.6243 MB / 0.588 GB, free: 1.961 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002287/0.5148, allocations: 1.168 MB / 0.5892 GB, free: 1.312 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00429/0.5191, allocations: 1.488 MB / 0.5906 GB, free: 484 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.5303, allocations: 5.43 MB / 0.5959 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5304, allocations: 1.406 kB / 0.5959 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.5304, allocations: 0 / 0.5959 GB, free: 14.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003411/0.5307, allocations: 0 / 0.5959 GB, free: 14.12 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.01306/0.5438, allocations: 3.754 MB / 0.5996 GB, free: 11.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.5438, allocations: 9.062 kB / 0.5996 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/0.5458, allocations: 484.8 kB / 0.6001 GB, free: 11.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004689/0.5505, allocations: 1.921 MB / 0.6019 GB, free: 10.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.5507, allocations: 202.3 kB / 0.6021 GB, free: 9.961 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005055/0.5512, allocations: 267.2 kB / 0.6024 GB, free: 9.871 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008557/0.5598, allocations: 3.654 MB / 0.606 GB, free: 7.625 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.926e-05/0.5598, allocations: 14.05 kB / 0.606 GB, free: 7.613 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002869/0.5601, allocations: 107.6 kB / 0.6061 GB, free: 7.531 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001629/0.5603, allocations: 123 kB / 0.6062 GB, free: 7.512 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006117/0.5664, allocations: 2.961 MB / 0.6091 GB, free: 5.996 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01975/0.5862, allocations: 9.575 MB / 0.6184 GB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002844/0.589, allocations: 1.507 MB / 0.6199 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/0.5911, allocations: 1.087 MB / 0.621 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.5914, allocations: 49.28 kB / 0.621 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.5915, allocations: 51.86 kB / 0.6211 GB, free: 11.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=130): time 3.637e-06/0.5915, allocations: 7.938 kB / 0.6211 GB, free: 11.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=147): time 0.01811/0.6096, allocations: 7.023 MB / 0.6279 GB, free: 4.812 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.6096, allocations: 64.72 kB / 0.628 GB, free: 4.738 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003309/0.6129, allocations: 1.839 MB / 0.6298 GB, free: 2.898 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.6131, allocations: 49.7 kB / 0.6298 GB, free: 2.844 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.6147, allocations: 1.361 MB / 0.6312 GB, free: 1.469 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006038/0.6153, allocations: 0.5307 MB / 0.6317 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006205/0.6159, allocations: 323.4 kB / 0.632 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.616, allocations: 305.1 kB / 0.6323 GB, free: 316 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.6178, allocations: 0.8862 MB / 0.6331 GB, free: 15.42 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/0.62, allocations: 1.376 MB / 0.6345 GB, free: 13.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004111/0.6241, allocations: 2.369 MB / 0.6368 GB, free: 11.26 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.6241, allocations: 5.125 kB / 0.6368 GB, free: 11.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.006214/0.6303, allocations: 2.892 MB / 0.6396 GB, free: 8.344 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.6304, allocations: 8 kB / 0.6396 GB, free: 8.336 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/0.6304, allocations: 16 kB / 0.6396 GB, free: 8.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.6317, allocations: 462.6 kB / 0.6401 GB, free: 7.859 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.6335, allocations: 427.3 kB / 0.6405 GB, free: 7.441 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008344/0.6418, allocations: 5.795 MB / 0.6462 GB, free: 1.461 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/0.644, allocations: 119.9 kB / 0.6463 GB, free: 1.344 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/0.6442, allocations: 75.98 kB / 0.6463 GB, free: 1.27 MB / 474.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.001872/0.646, allocations: 0.8525 MB / 0.6472 GB, free: 416 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004958/0.6465, allocations: 210.6 kB / 0.6474 GB, free: 204 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005313/0.6519, allocations: 2.491 MB / 0.6498 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/0.6519, allocations: 16 kB / 0.6498 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.6519, allocations: 4 kB / 0.6498 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/0.6519, allocations: 7.969 kB / 0.6498 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.6627, allocations: 4.842 MB / 0.6546 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.6627, allocations: 4.406 kB / 0.6546 GB, free: 8.711 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.664, allocations: 279.6 kB / 0.6548 GB, free: 8.438 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.6655, allocations: 0.4941 MB / 0.6553 GB, free: 7.934 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.6656, allocations: 40.97 kB / 0.6554 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009677/0.6753, allocations: 7.228 MB / 0.6624 GB, free: 368 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.6753, allocations: 4 kB / 0.6624 GB, free: 364 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007769/0.6831, allocations: 3.741 MB / 0.6661 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/0.6845, allocations: 390.5 kB / 0.6664 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003273/0.6849, allocations: 35.94 kB / 0.6665 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.686, allocations: 99.88 kB / 0.6666 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000344/0.6863, allocations: 125 kB / 0.6667 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.6864, allocations: 43.98 kB / 0.6667 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002229/0.6887, allocations: 1.239 MB / 0.6679 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6887, allocations: 4 kB / 0.6679 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002315/0.691, allocations: 0.5858 MB / 0.6685 GB, free: 10.05 MB / 0.4948 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.0005057/0.6915, allocations: 223.6 kB / 0.6687 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00485/0.6963, allocations: 2.439 MB / 0.6711 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6963, allocations: 0 / 0.6711 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003207/0.6996, allocations: 1.541 MB / 0.6726 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/0.7019, allocations: 434.3 kB / 0.673 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.7127, allocations: 5.721 MB / 0.6786 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002427/0.7151, allocations: 1.572 MB / 0.6802 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001584/0.7167, allocations: 459.5 kB / 0.6806 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/0.7172, allocations: 131.4 kB / 0.6807 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/0.7172, allocations: 4 kB / 0.6807 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of Templates: time 0.06251/0.7797, allocations: 33 MB / 0.7129 GB, free: 12.69 MB / 0.5417 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.2206610213033855]