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.001013/0.001013, allocations: 117.2 kB / 21.19 MB, free: 4.387 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.0009539/0.0009539, allocations: 213.3 kB / 24.48 MB, free: 1.387 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 0.9766/0.9766, allocations: 230.6 MB / 258.2 MB, free: 3.109 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.149/0.149, 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.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.00175/0.00175, allocations: 103.8 kB / 0.4978 GB, free: 3.242 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2411, allocations: 66.21 MB / 0.5624 GB, free: 13.65 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01133/0.2525, allocations: 15.13 MB / 0.5772 GB, free: 14.45 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006741/0.2592, allocations: 5.408 MB / 0.5825 GB, free: 9.027 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.2605, allocations: 131.2 kB / 0.5826 GB, free: 8.898 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.2625, allocations: 1.247 MB / 0.5838 GB, free: 7.645 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002405/0.2649, allocations: 1.623 MB / 0.5854 GB, free: 6.012 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.2663, allocations: 1.087 MB / 0.5865 GB, free: 4.926 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003674/0.27, allocations: 5.245 MB / 0.5916 GB, free: 15.66 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.272, allocations: 2.215 MB / 0.5937 GB, free: 13.36 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/0.2736, allocations: 2.247 MB / 0.5959 GB, free: 11.11 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002216/0.2758, allocations: 2.506 MB / 0.5984 GB, free: 8.594 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005182/0.2763, allocations: 0.6133 MB / 0.599 GB, free: 7.98 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009388/0.2773, allocations: 0.8318 MB / 0.5998 GB, free: 7.148 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007103/0.278, allocations: 1.433 MB / 0.6012 GB, free: 5.711 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.2792, allocations: 2.104 MB / 0.6033 GB, free: 3.598 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004575/0.2837, allocations: 8.203 MB / 0.6113 GB, free: 11.36 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2837, allocations: 4 kB / 0.6113 GB, free: 11.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2838, allocations: 0 / 0.6113 GB, free: 11.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.991e-05/0.2838, allocations: 0 / 0.6113 GB, free: 11.36 MB / 458.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.006365/0.2902, allocations: 5.457 MB / 0.6166 GB, free: 5.836 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2902, allocations: 8.031 kB / 0.6166 GB, free: 5.828 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/0.2928, allocations: 1.028 MB / 0.6176 GB, free: 4.797 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003254/0.296, allocations: 2.953 MB / 0.6205 GB, free: 1.797 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.2962, allocations: 308.1 kB / 0.6208 GB, free: 1.492 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003537/0.2965, allocations: 395.9 kB / 0.6212 GB, free: 1.105 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005415/0.3019, allocations: 5.371 MB / 0.6264 GB, free: 11.61 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-05/0.302, allocations: 7.938 kB / 0.6264 GB, free: 11.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/0.3022, allocations: 164 kB / 0.6266 GB, free: 11.44 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.3023, allocations: 176 kB / 0.6267 GB, free: 11.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006387/0.3087, allocations: 4.462 MB / 0.6311 GB, free: 6.785 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01779/0.3265, allocations: 14.36 MB / 0.6451 GB, free: 7.973 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004405/0.3309, allocations: 3.213 MB / 0.6483 GB, free: 4.973 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002954/0.3339, allocations: 1.992 MB / 0.6502 GB, free: 2.984 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00605/0.3399, allocations: 4.143 MB / 0.6543 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.34, allocations: 55.81 kB / 0.6543 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=157): time 3.296e-06/0.34, allocations: 4 kB / 0.6543 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=160): time 0.009044/0.349, allocations: 5.881 MB / 0.6601 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.3491, allocations: 72.66 kB / 0.6601 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002403/0.3515, allocations: 2.122 MB / 0.6622 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.976e-05/0.3515, allocations: 53.7 kB / 0.6622 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.3526, allocations: 1.939 MB / 0.6641 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000358/0.3529, allocations: 0.5733 MB / 0.6647 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004798/0.3534, allocations: 395.9 kB / 0.6651 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.3535, allocations: 309.1 kB / 0.6654 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.3547, allocations: 0.8553 MB / 0.6662 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.3563, allocations: 1.592 MB / 0.6678 GB, free: 496 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/0.3592, allocations: 2.582 MB / 0.6703 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.3592, allocations: 8 kB / 0.6703 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.003783/0.363, allocations: 2.892 MB / 0.6731 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.363, allocations: 12 kB / 0.6731 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/0.3631, allocations: 24 kB / 0.6732 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003383/0.3634, allocations: 182.1 kB / 0.6733 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.3648, allocations: 0.5343 MB / 0.6738 GB, free: 9.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.3667, allocations: 2.284 MB / 0.6761 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.3677, allocations: 108.1 kB / 0.6762 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.3678, allocations: 100 kB / 0.6763 GB, free: 7.32 MB / 0.5105 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.001422/0.3692, allocations: 1.202 MB / 0.6774 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.3694, allocations: 242.4 kB / 0.6777 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00269/0.3721, allocations: 2.348 MB / 0.68 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.3721, allocations: 16 kB / 0.68 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3721, allocations: 4 kB / 0.68 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.3721, allocations: 7.969 kB / 0.68 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005134/0.3773, allocations: 4.896 MB / 0.6848 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.3773, allocations: 8.031 kB / 0.6848 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006392/0.3779, allocations: 287.6 kB / 0.6851 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000514/0.3784, allocations: 368.6 kB / 0.6854 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.466e-05/0.3785, allocations: 43.97 kB / 0.6855 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004353/0.3828, allocations: 6.911 MB / 0.6922 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3828, allocations: 8.031 kB / 0.6922 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003415/0.3863, allocations: 3.478 MB / 0.6956 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005366/0.3868, allocations: 430.2 kB / 0.696 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.387, allocations: 35.98 kB / 0.6961 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005288/0.3875, allocations: 83.94 kB / 0.6961 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.3877, allocations: 132.9 kB / 0.6963 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.25e-05/0.3877, allocations: 47.98 kB / 0.6963 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00132/0.3891, allocations: 1.396 MB / 0.6977 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.3891, allocations: 0 / 0.6977 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001375/0.3904, allocations: 0.6718 MB / 0.6983 GB, free: 252 kB / 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.0002652/0.3907, allocations: 177.4 kB / 0.6985 GB, free: 68 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.1972/0.5879, allocations: 2.15 MB / 0.7006 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.5879, allocations: 5.062 kB / 0.7006 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/0.5894, allocations: 1.414 MB / 0.702 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.5912, allocations: 0.5053 MB / 0.7025 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007856/0.5991, allocations: 7.037 MB / 0.7093 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/0.6005, allocations: 2.074 MB / 0.7114 GB, free: 119 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/0.6009, allocations: 183.5 kB / 0.7115 GB, free: 119 MB / 0.5261 GB Notification: Performance of SimCode: time 9.02e-07/0.6009, allocations: 0 / 0.7115 GB, free: 119 MB / 0.5261 GB Notification: Performance of Templates: time 0.04936/0.6502, allocations: 96.76 MB / 0.806 GB, free: 24.34 MB / 0.5261 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 > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.357490743976086]