Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.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.0009544/0.0009544, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001544/0.001544, allocations: 159.4 kB / 24.91 MB, free: 8.719 MB / 18.57 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.9814/0.9814, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.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.2493/0.2493, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 266.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 326 MB, free: 7.023 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.622e-05, allocations: 3.859 kB / 326.1 MB, free: 7.02 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.02842/0.02843, allocations: 39.33 MB / 365.4 MB, free: 15.52 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0213/0.04973, allocations: 11.73 MB / 377.1 MB, free: 3.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007275/0.05701, allocations: 381.9 kB / 377.5 MB, free: 3.375 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01161/0.06862, allocations: 9.33 MB / 386.8 MB, free: 10 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009455/0.07807, allocations: 3.785 MB / 390.6 MB, free: 6.191 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004628/0.0827, allocations: 2.469 MB / 393.1 MB, free: 3.723 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01328/0.09599, allocations: 13.99 MB / 407.1 MB, free: 5.672 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01983/0.1158, allocations: 17.89 MB / 424.9 MB, free: 3.594 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01554/0.1314, allocations: 10.94 MB / 435.9 MB, free: 8.633 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01147/0.1428, allocations: 7.684 MB / 443.6 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1758/0.3186, allocations: 1.978 MB / 445.6 MB, free: 48.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005425/0.324, allocations: 2.368 MB / 447.9 MB, free: 48.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002646/0.3267, allocations: 4.16 MB / 452.1 MB, free: 48.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007427/0.3341, allocations: 5.252 MB / 457.3 MB, free: 48.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.345, allocations: 12.84 MB / 470.2 MB, free: 47.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.345, allocations: 0 / 470.2 MB, free: 47.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.345, allocations: 0 / 470.2 MB, free: 47.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000388/0.3454, allocations: 0 / 470.2 MB, free: 47.64 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3414 * Number of variables: 3414 Notification: Performance of Generate backend data structure: time 0.02405/0.3694, allocations: 15.02 MB / 485.2 MB, free: 42.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3695, allocations: 11.47 kB / 485.2 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01513/0.3846, allocations: 6.456 MB / 491.7 MB, free: 41.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008169/0.3928, allocations: 4.54 MB / 496.2 MB, free: 38.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003313/0.3931, allocations: 0.9268 MB / 497.1 MB, free: 37.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001488/0.3946, allocations: 1.233 MB / 498.4 MB, free: 36.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01195/0.4065, allocations: 9.901 MB / 0.4963 GB, free: 27.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002016/0.4067, allocations: 18.39 kB / 0.4964 GB, free: 27.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008238/0.4076, allocations: 0.5124 MB / 0.4969 GB, free: 27.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000348/0.4079, allocations: 0.6582 MB / 0.4975 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006531/0.4144, allocations: 4.765 MB / 0.5022 GB, free: 22.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03982/0.4543, allocations: 37.85 MB / 0.5391 GB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007556/0.4618, allocations: 6.256 MB / 0.5452 GB, free: 11.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.4634, allocations: 1.328 MB / 0.5465 GB, free: 10.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007683/0.4711, allocations: 4.305 MB / 0.5507 GB, free: 5.914 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.4711, allocations: 77.33 kB / 0.5508 GB, free: 5.828 MB / 442.7 MB Notification: Performance of pre-optimization done (n=361): time 4.989e-06/0.4711, allocations: 0 / 0.5508 GB, free: 5.828 MB / 442.7 MB Notification: Performance of matching and sorting (n=403): time 0.01513/0.4862, allocations: 8.399 MB / 0.559 GB, free: 13.56 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.4863, allocations: 90.58 kB / 0.5591 GB, free: 13.46 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.4894, allocations: 3.506 MB / 0.5625 GB, free: 10.67 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001866/0.4896, allocations: 89.7 kB / 0.5626 GB, free: 10.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002451/0.492, allocations: 5.247 MB / 0.5677 GB, free: 5.508 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000819/0.4928, allocations: 1.46 MB / 0.5692 GB, free: 4.129 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00124/0.4941, allocations: 1.267 MB / 0.5704 GB, free: 2.992 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.382e-05/0.4941, allocations: 305.1 kB / 0.5707 GB, free: 2.691 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.4953, allocations: 0.886 MB / 0.5716 GB, free: 1.801 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/0.4979, allocations: 3.776 MB / 0.5752 GB, free: 12.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004327/0.5022, allocations: 5.339 MB / 0.5805 GB, free: 6.602 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.718e-05/0.5022, allocations: 28 kB / 0.5805 GB, free: 6.574 MB / 474.7 MB Notification: Performance of matching and sorting (n=890) (initialization): time 0.005161/0.5074, allocations: 4.65 MB / 0.585 GB, free: 2.566 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.5074, allocations: 56.11 kB / 0.5851 GB, free: 2.512 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-05/0.5075, allocations: 104 kB / 0.5852 GB, free: 2.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.509, allocations: 0.8047 MB / 0.586 GB, free: 1.602 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002741/0.5117, allocations: 1.481 MB / 0.5874 GB, free: 244 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005275/0.517, allocations: 6.012 MB / 0.5933 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/0.5194, allocations: 291.9 kB / 0.5936 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003182/0.5198, allocations: 302.9 kB / 0.5938 GB, free: 9.535 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 836 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(1,1,100.0%), (1,1,100.0%), (8,38,59.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00273/0.5225, allocations: 0.601 MB / 0.5944 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006153/0.5231, allocations: 435.5 kB / 0.5948 GB, free: 8.617 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003746/0.5269, allocations: 2.798 MB / 0.5976 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.5269, allocations: 40 kB / 0.5976 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.5269, allocations: 8 kB / 0.5976 GB, free: 5.773 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.372e-05/0.5269, allocations: 19.92 kB / 0.5976 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.5373, allocations: 7.065 MB / 0.6045 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.5373, allocations: 4 kB / 0.6046 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/0.5389, allocations: 0.6453 MB / 0.6052 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/0.5402, allocations: 0.6707 MB / 0.6058 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002135/0.5404, allocations: 75.97 kB / 0.6059 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004308/0.5447, allocations: 5.63 MB / 0.6114 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.5447, allocations: 8.125 kB / 0.6114 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004242/0.549, allocations: 3.435 MB / 0.6148 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.55, allocations: 0.5996 MB / 0.6154 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003919/0.5504, allocations: 79.98 kB / 0.6154 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009365/0.5514, allocations: 108 kB / 0.6155 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003534/0.5517, allocations: 278 kB / 0.6158 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.5519, allocations: 87.95 kB / 0.6159 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001716/0.5536, allocations: 1.632 MB / 0.6175 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.5536, allocations: 0 / 0.6175 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004458/0.5581, allocations: 1.93 MB / 0.6194 GB, free: 304 kB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi,smpmQS.inertiaRotor.w,quadraticSpeedDependentTorqueQS.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (384): * Single equations (assignments): 379 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(1,1,100.0%), (8,38,59.4%), (1,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.000431/0.5585, allocations: 252.2 kB / 0.6196 GB, free: 88 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.1681/0.7265, allocations: 3.719 MB / 0.6232 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 0.0001548/0.7267, allocations: 85.03 kB / 0.6233 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.7286, allocations: 1.818 MB / 0.6251 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003698/0.7323, allocations: 1.288 MB / 0.6263 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02295/0.7552, allocations: 17.32 MB / 0.6433 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002338/0.7575, allocations: 2.281 MB / 0.6455 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002897/0.7604, allocations: 0.8535 MB / 0.6463 GB, free: 136 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002063/0.7625, allocations: 1.2 MB / 0.6475 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.743e-06/0.7625, allocations: 3.562 kB / 0.6475 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.09594/0.8584, allocations: 74.76 MB / 0.7205 GB, free: 73.62 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.213589062914252]