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.001875/0.001875, allocations: 110.2 kB / 20.43 MB, free: 4.586 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.001966/0.001966, allocations: 217.3 kB / 23.73 MB, free: 2.133 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.638/1.638, 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.2621/0.2621, allocations: 47.7 MB / 361.6 MB, free: 2.344 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.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 0.005115/0.005115, allocations: 95.84 kB / 0.4978 GB, free: 6.883 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1411, allocations: 66.22 MB / 0.5625 GB, free: 4.531 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.2868/0.4279, allocations: 35.94 MB / 0.5976 GB, free: 9.16 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0299/0.4578, allocations: 10.9 MB / 0.6082 GB, free: 1.434 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01185/0.4697, allocations: 381.7 kB / 0.6086 GB, free: 1.305 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02339/0.4931, allocations: 8.26 MB / 0.6166 GB, free: 12.08 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01557/0.5086, allocations: 3.657 MB / 0.6202 GB, free: 9.121 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009523/0.5182, allocations: 2.413 MB / 0.6226 GB, free: 7.191 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.02426/0.5424, allocations: 13.51 MB / 0.6358 GB, free: 13.32 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0433/0.5857, allocations: 17.37 MB / 0.6527 GB, free: 11.79 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01496/0.6007, allocations: 7.172 MB / 0.6597 GB, free: 4.602 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01788/0.6186, allocations: 7.687 MB / 0.6672 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.007656/0.6262, allocations: 1.988 MB / 0.6692 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01093/0.6372, allocations: 2.39 MB / 0.6715 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.009334/0.6465, allocations: 4.044 MB / 0.6755 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.01717/0.6637, allocations: 6.074 MB / 0.6814 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.05562/0.7193, allocations: 26.66 MB / 0.7074 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.7193, allocations: 0 / 0.7074 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7193, allocations: 0 / 0.7074 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001305/0.7206, allocations: 0 / 0.7074 GB, free: 3.602 MB / 0.5261 GB 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.05649/0.7771, allocations: 15.69 MB / 0.7228 GB, free: 3.793 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.7771, allocations: 12.03 kB / 0.7228 GB, free: 3.781 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03446/0.8116, allocations: 6.2 MB / 0.7288 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02083/0.8324, allocations: 8.309 MB / 0.737 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001485/0.8339, allocations: 0.9233 MB / 0.7379 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004791/0.8387, allocations: 1.234 MB / 0.7391 GB, free: 3.012 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05176/0.8905, allocations: 19.27 MB / 0.7579 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004877/0.891, allocations: 23.84 kB / 0.7579 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004095/0.8951, allocations: 0.5117 MB / 0.7584 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001003/0.8961, allocations: 0.6504 MB / 0.759 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04708/0.9431, allocations: 17.01 MB / 0.7757 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6166/1.56, allocations: 52.04 MB / 0.8265 GB, free: 151 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02039/1.58, allocations: 10.39 MB / 0.8366 GB, free: 149.8 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006057/1.586, allocations: 3.472 MB / 0.84 GB, free: 148.5 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01598/1.602, allocations: 7.865 MB / 0.8477 GB, free: 145.1 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.351e-05/1.602, allocations: 73.47 kB / 0.8478 GB, free: 145.1 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=361): time 6.252e-06/1.602, allocations: 1.625 kB / 0.8478 GB, free: 145.1 MB / 0.6199 GB Notification: Performance of matching and sorting (n=403): time 0.03233/1.635, allocations: 17.54 MB / 0.8649 GB, free: 137.9 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/1.635, allocations: 92.61 kB / 0.865 GB, free: 137.8 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00675/1.641, allocations: 5.004 MB / 0.8699 GB, free: 136 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0005918/1.642, allocations: 92.45 kB / 0.87 GB, free: 135.9 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.002453/1.644, allocations: 5.828 MB / 0.8757 GB, free: 132 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.001196/1.646, allocations: 1.469 MB / 0.8771 GB, free: 130.8 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001672/1.647, allocations: 1.368 MB / 0.8784 GB, free: 130 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 4.342e-05/1.647, allocations: 304.8 kB / 0.8787 GB, free: 129.7 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003586/1.651, allocations: 2.972 MB / 0.8816 GB, free: 128.2 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004518/1.655, allocations: 6.069 MB / 0.8875 GB, free: 122.4 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009023/1.664, allocations: 9.675 MB / 0.897 GB, free: 114.6 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.377e-05/1.665, allocations: 31 kB / 0.897 GB, free: 114.6 MB / 0.6199 GB Notification: Performance of matching and sorting (n=890) (initialization): time 0.01386/1.678, allocations: 10.07 MB / 0.9069 GB, free: 105.6 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 6.192e-05/1.678, allocations: 52 kB / 0.9069 GB, free: 105.5 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/1.679, allocations: 100 kB / 0.907 GB, free: 105.4 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002465/1.681, allocations: 0.9452 MB / 0.9079 GB, free: 104.5 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006164/1.687, allocations: 1.63 MB / 0.9095 GB, free: 102.8 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009583/1.697, allocations: 9.701 MB / 0.919 GB, free: 92.84 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005482/1.702, allocations: 417.4 kB / 0.9194 GB, free: 92.43 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/1.703, allocations: 364 kB / 0.9197 GB, free: 92.07 MB / 0.6199 GB 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.007157/1.711, allocations: 4.305 MB / 0.9239 GB, free: 87.75 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/1.712, allocations: 0.5356 MB / 0.9245 GB, free: 87.21 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009829/1.722, allocations: 6.62 MB / 0.9309 GB, free: 80.55 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/1.722, allocations: 44 kB / 0.931 GB, free: 80.5 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/1.722, allocations: 8 kB / 0.931 GB, free: 80.5 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.303e-05/1.722, allocations: 19.92 kB / 0.931 GB, free: 80.48 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02274/1.745, allocations: 13.76 MB / 0.9444 GB, free: 66.68 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/1.745, allocations: 4 kB / 0.9444 GB, free: 66.68 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003103/1.748, allocations: 0.7723 MB / 0.9452 GB, free: 65.9 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002045/1.75, allocations: 0.7959 MB / 0.946 GB, free: 65.09 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000276/1.75, allocations: 99.91 kB / 0.9461 GB, free: 64.99 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008358/1.758, allocations: 8.842 MB / 0.9547 GB, free: 55.85 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.758, allocations: 15.94 kB / 0.9547 GB, free: 55.84 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/1.771, allocations: 9.786 MB / 0.9643 GB, free: 45.93 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002732/1.774, allocations: 1.031 MB / 0.9653 GB, free: 44.9 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009303/1.775, allocations: 76 kB / 0.9653 GB, free: 44.82 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002421/1.777, allocations: 219.8 kB / 0.9656 GB, free: 44.61 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00057/1.778, allocations: 301.1 kB / 0.9658 GB, free: 44.32 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/1.778, allocations: 120 kB / 0.966 GB, free: 44.2 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.004191/1.782, allocations: 3.199 MB / 0.9691 GB, free: 41.01 MB / 0.6199 GB Notification: Performance of sort global known variables: time 1e-07/1.782, allocations: 0 / 0.9691 GB, free: 41.01 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.007123/1.789, allocations: 1.933 MB / 0.971 GB, free: 39.08 MB / 0.6199 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.0006387/1.79, allocations: 266.3 kB / 0.9712 GB, free: 38.81 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.8, allocations: 7.391 MB / 0.9784 GB, free: 31.38 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/1.8, allocations: 0 / 0.9784 GB, free: 31.38 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.004663/1.805, allocations: 3.244 MB / 0.9816 GB, free: 28.09 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006324/1.811, allocations: 1.271 MB / 0.9829 GB, free: 26.87 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03438/1.846, allocations: 20.6 MB / 1.003 GB, free: 6.164 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008853/1.854, allocations: 7.041 MB / 1.01 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.007147/1.862, allocations: 2.156 MB / 1.012 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/1.863, allocations: 427.3 kB / 1.012 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.303e-06/1.863, allocations: 0 / 1.012 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.4052/2.268, allocations: 81.6 MB / 1.092 GB, free: 211.4 MB / 0.6824 GB " [Timeout remaining time 658] 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: 10.143712080083787]