Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.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.001656/0.001656, allocations: 111.9 kB / 20.43 MB, free: 4.598 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.001886/0.001886, allocations: 217.3 kB / 23.73 MB, free: 2.129 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.682/1.682, allocations: 230.5 MB / 257.4 MB, free: 9.5 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.2547/0.2547, allocations: 47.69 MB / 361.6 MB, free: 2.375 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.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20499,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.005154/0.005154, allocations: 99.84 kB / 0.4978 GB, free: 6.977 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1361, allocations: 66.22 MB / 0.5624 GB, free: 4.629 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.2402/0.3763, allocations: 15.12 MB / 0.5772 GB, free: 7.07 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.3866, allocations: 5.405 MB / 0.5825 GB, free: 3.273 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003284/0.3898, allocations: 139.2 kB / 0.5826 GB, free: 3.219 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003317/0.3932, allocations: 1.247 MB / 0.5838 GB, free: 2.594 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004716/0.3979, allocations: 1.634 MB / 0.5854 GB, free: 1.52 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.4004, allocations: 1.085 MB / 0.5865 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00837/0.4088, allocations: 5.241 MB / 0.5916 GB, free: 14.19 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004505/0.4133, allocations: 2.224 MB / 0.5938 GB, free: 13.01 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004505/0.4178, allocations: 2.249 MB / 0.596 GB, free: 11.89 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006041/0.4238, allocations: 2.503 MB / 0.5984 GB, free: 10.76 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001986/0.4258, allocations: 0.6119 MB / 0.599 GB, free: 10.76 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00389/0.4297, allocations: 0.8373 MB / 0.5998 GB, free: 10.69 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002525/0.4322, allocations: 1.43 MB / 0.6012 GB, free: 9.773 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006046/0.4383, allocations: 2.109 MB / 0.6033 GB, free: 8.543 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01257/0.4508, allocations: 8.196 MB / 0.6113 GB, free: 2.934 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4508, allocations: 3.938 kB / 0.6113 GB, free: 2.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4508, allocations: 5.094 kB / 0.6113 GB, free: 2.926 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002314/0.4511, allocations: 0 / 0.6113 GB, free: 2.926 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01848/0.4696, allocations: 5.467 MB / 0.6166 GB, free: 15.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/0.4696, allocations: 8.75 kB / 0.6166 GB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.48, allocations: 1.025 MB / 0.6176 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/0.4921, allocations: 2.945 MB / 0.6205 GB, free: 12.72 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005041/0.4926, allocations: 303.2 kB / 0.6208 GB, free: 12.54 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001788/0.4944, allocations: 407.9 kB / 0.6212 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02282/0.5172, allocations: 5.371 MB / 0.6264 GB, free: 6.641 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001685/0.5174, allocations: 11.89 kB / 0.6265 GB, free: 6.629 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00093/0.5183, allocations: 160 kB / 0.6266 GB, free: 6.473 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000374/0.5187, allocations: 176 kB / 0.6268 GB, free: 6.297 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/0.5365, allocations: 4.455 MB / 0.6311 GB, free: 1.824 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05614/0.5926, allocations: 14.35 MB / 0.6451 GB, free: 3.051 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01814/0.6107, allocations: 3.223 MB / 0.6483 GB, free: 40 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01195/0.6227, allocations: 1.99 MB / 0.6502 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04435/0.667, allocations: 4.15 MB / 0.6543 GB, free: 9.848 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.245e-05/0.6671, allocations: 55.75 kB / 0.6543 GB, free: 9.785 MB / 490.7 MB Notification: Performance of pre-optimization done (n=157): time 6.042e-06/0.6671, allocations: 4 kB / 0.6543 GB, free: 9.781 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.02526/0.6924, allocations: 5.877 MB / 0.6601 GB, free: 3.867 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.697e-05/0.6925, allocations: 72.7 kB / 0.6602 GB, free: 3.785 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005953/0.6984, allocations: 2.122 MB / 0.6622 GB, free: 1.629 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002923/0.6987, allocations: 49.7 kB / 0.6623 GB, free: 1.574 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002797/0.7015, allocations: 1.923 MB / 0.6642 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/0.7026, allocations: 0.5772 MB / 0.6647 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001126/0.7037, allocations: 399.9 kB / 0.6651 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000235/0.704, allocations: 305.1 kB / 0.6654 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003275/0.7072, allocations: 0.8553 MB / 0.6662 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004268/0.7115, allocations: 1.603 MB / 0.6678 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006727/0.7182, allocations: 2.589 MB / 0.6703 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.7182, allocations: 4 kB / 0.6703 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005801/0.724, allocations: 2.881 MB / 0.6731 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.7241, allocations: 19.98 kB / 0.6732 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/0.7241, allocations: 24 kB / 0.6732 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004616/0.7246, allocations: 177.9 kB / 0.6733 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/0.7266, allocations: 0.5342 MB / 0.6739 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/0.7294, allocations: 2.284 MB / 0.6761 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.7312, allocations: 119.8 kB / 0.6762 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.7314, allocations: 95.98 kB / 0.6763 GB, free: 2.383 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (266): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002366/0.7338, allocations: 1.2 MB / 0.6775 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000631/0.7344, allocations: 242.5 kB / 0.6777 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004895/0.7393, allocations: 2.348 MB / 0.68 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.7393, allocations: 16 kB / 0.68 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.7393, allocations: 8 kB / 0.68 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.7393, allocations: 7.969 kB / 0.68 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009919/0.7493, allocations: 4.884 MB / 0.6848 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.7493, allocations: 0 / 0.6848 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/0.7506, allocations: 287.8 kB / 0.6851 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009992/0.7516, allocations: 368.6 kB / 0.6854 GB, free: 8.926 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.7517, allocations: 39.98 kB / 0.6855 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008731/0.7604, allocations: 6.929 MB / 0.6922 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.7605, allocations: 4.031 kB / 0.6922 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006467/0.7669, allocations: 3.49 MB / 0.6956 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.768, allocations: 422.2 kB / 0.696 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002855/0.7683, allocations: 32 kB / 0.6961 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.7693, allocations: 79.92 kB / 0.6962 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002872/0.7696, allocations: 137 kB / 0.6963 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.7697, allocations: 39.98 kB / 0.6963 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0023/0.772, allocations: 1.404 MB / 0.6977 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.772, allocations: 0 / 0.6977 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002509/0.7745, allocations: 0.668 MB / 0.6983 GB, free: 11.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.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 (129): * Single equations (assignments): 126 * Array equations: 0 * 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 {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000349/0.7749, allocations: 179.2 kB / 0.6985 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00402/0.7789, allocations: 2.159 MB / 0.7006 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7789, allocations: 7.875 kB / 0.7006 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002529/0.7814, allocations: 1.413 MB / 0.702 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/0.7837, allocations: 0.5101 MB / 0.7025 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/0.797, allocations: 7.054 MB / 0.7094 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002844/0.7998, allocations: 2.135 MB / 0.7115 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00181/0.8016, allocations: 0.5224 MB / 0.712 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006623/0.8023, allocations: 163.4 kB / 0.7121 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of SimCode: time 7.62e-07/0.8023, allocations: 0 / 0.7121 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of Templates: time 0.06305/0.8654, allocations: 34.7 MB / 0.746 GB, free: 10.73 MB / 0.573 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.161264082882553]