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.001137/0.001137, allocations: 88.28 kB / 21.44 MB, free: 3.109 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.001178/0.001178, allocations: 151.8 kB / 24.69 MB, free: 8.91 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.9953/0.9953, allocations: 177 MB / 204.9 MB, free: 5.715 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.2904/0.2904, allocations: 34.86 MB / 296.2 MB, free: 0.5 MB / 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.523e-06/1.523e-06, allocations: 0 / 443.7 MB, free: 1.094 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.682e-05, allocations: 2.281 kB / 443.7 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.2189/0.2189, allocations: 36 MB / 479.7 MB, free: 20.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01747/0.2364, allocations: 10.9 MB / 490.6 MB, free: 12.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003728/0.2401, allocations: 383 kB / 491 MB, free: 12.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00754/0.2477, allocations: 8.681 MB / 499.7 MB, free: 7.844 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005563/0.2532, allocations: 3.749 MB / 0.4916 GB, free: 5.445 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.2565, allocations: 2.423 MB / 0.494 GB, free: 3.973 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01102/0.2675, allocations: 13.98 MB / 0.5076 GB, free: 12.52 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01972/0.2872, allocations: 17.44 MB / 0.5247 GB, free: 1.785 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01376/0.301, allocations: 10.58 MB / 0.535 GB, free: 7.562 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008199/0.3092, allocations: 6.829 MB / 0.5417 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001765/0.3109, allocations: 1.988 MB / 0.5436 GB, free: 14.73 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/0.3143, allocations: 2.405 MB / 0.546 GB, free: 12.32 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002371/0.3166, allocations: 4.122 MB / 0.55 GB, free: 8.191 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005896/0.3225, allocations: 5.224 MB / 0.5551 GB, free: 2.957 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02186/0.3444, allocations: 26.82 MB / 0.5813 GB, free: 8.059 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.3444, allocations: 0 / 0.5813 GB, free: 8.059 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3444, allocations: 4 kB / 0.5813 GB, free: 8.055 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006299/0.345, allocations: 0 / 0.5813 GB, free: 8.055 MB / 490.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.02898/0.374, allocations: 15.55 MB / 0.5965 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.374, allocations: 8.031 kB / 0.5965 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01615/0.3902, allocations: 6.208 MB / 0.6025 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.4006, allocations: 8.317 MB / 0.6107 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004271/0.4011, allocations: 0.9349 MB / 0.6116 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001374/0.4024, allocations: 1.23 MB / 0.6128 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02512/0.4275, allocations: 19.28 MB / 0.6316 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002043/0.4278, allocations: 31.83 kB / 0.6316 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008571/0.4286, allocations: 0.5039 MB / 0.6321 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003943/0.429, allocations: 0.6543 MB / 0.6328 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2583/0.6873, allocations: 17.01 MB / 0.6494 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08437/0.7717, allocations: 52.08 MB / 0.7002 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01348/0.7852, allocations: 10.39 MB / 0.7104 GB, free: 97.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004369/0.7896, allocations: 3.483 MB / 0.7138 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01353/0.8031, allocations: 7.859 MB / 0.7214 GB, free: 92.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.8031, allocations: 74.59 kB / 0.7215 GB, free: 92.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=361): time 5.1e-06/0.8031, allocations: 0 / 0.7215 GB, free: 92.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=403): time 0.02571/0.8288, allocations: 17.53 MB / 0.7386 GB, free: 75.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.8289, allocations: 94.52 kB / 0.7387 GB, free: 75.02 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006489/0.8354, allocations: 5.01 MB / 0.7436 GB, free: 70.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001096/0.8365, allocations: 85.7 kB / 0.7437 GB, free: 69.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002681/0.8392, allocations: 5.803 MB / 0.7494 GB, free: 64.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001729/0.8409, allocations: 1.455 MB / 0.7508 GB, free: 62.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00201/0.8429, allocations: 1.351 MB / 0.7521 GB, free: 61.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.199e-05/0.8429, allocations: 301.1 kB / 0.7524 GB, free: 61.01 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003638/0.8466, allocations: 2.973 MB / 0.7553 GB, free: 58.03 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004533/0.8511, allocations: 6.066 MB / 0.7612 GB, free: 50.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00933/0.8604, allocations: 9.682 MB / 0.7707 GB, free: 39.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001349/0.8606, allocations: 32 kB / 0.7707 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=890) (initialization): time 0.01502/0.8756, allocations: 10.07 MB / 0.7805 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.794e-05/0.8757, allocations: 51.98 kB / 0.7806 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001494/0.8758, allocations: 108.1 kB / 0.7807 GB, free: 29.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/0.8776, allocations: 0.9372 MB / 0.7816 GB, free: 28.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004109/0.8817, allocations: 1.63 MB / 0.7832 GB, free: 26.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006946/0.8887, allocations: 9.683 MB / 0.7927 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004364/0.893, allocations: 415.4 kB / 0.7931 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001218/0.8943, allocations: 371.9 kB / 0.7934 GB, free: 15.71 MB / 0.5261 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.007308/0.9016, allocations: 4.313 MB / 0.7976 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/0.9027, allocations: 0.5318 MB / 0.7981 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007146/0.9098, allocations: 6.609 MB / 0.8046 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-05/0.9098, allocations: 44 kB / 0.8046 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.9098, allocations: 12 kB / 0.8047 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/0.9099, allocations: 31.78 kB / 0.8047 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02228/0.9321, allocations: 13.76 MB / 0.8181 GB, free: 6.309 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.9321, allocations: 4.5 kB / 0.8181 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001822/0.934, allocations: 0.7723 MB / 0.8189 GB, free: 5.531 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/0.9354, allocations: 0.7965 MB / 0.8197 GB, free: 4.719 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002224/0.9356, allocations: 91.97 kB / 0.8197 GB, free: 4.629 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00692/0.9426, allocations: 8.847 MB / 0.8284 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.9426, allocations: 7.938 kB / 0.8284 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01171/0.9543, allocations: 9.772 MB / 0.8379 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002354/0.9566, allocations: 1.027 MB / 0.8389 GB, free: 0.5508 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006457/0.9573, allocations: 79.94 kB / 0.839 GB, free: 484 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.9586, allocations: 227.7 kB / 0.8392 GB, free: 256 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004547/0.9591, allocations: 291 kB / 0.8395 GB, free: 15.96 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/0.9593, allocations: 127.9 kB / 0.8396 GB, free: 15.84 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004105/0.9634, allocations: 3.195 MB / 0.8428 GB, free: 12.66 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9634, allocations: 0 / 0.8428 GB, free: 12.66 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006864/0.9702, allocations: 1.934 MB / 0.8446 GB, free: 10.72 MB / 0.573 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.0008442/0.9711, allocations: 281 kB / 0.8449 GB, free: 10.44 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00975/0.9808, allocations: 7.375 MB / 0.8521 GB, free: 3.027 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/0.9808, allocations: 4 kB / 0.8521 GB, free: 3.023 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.1917/1.173, allocations: 3.249 MB / 0.8553 GB, free: 185.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004936/1.177, allocations: 1.267 MB / 0.8565 GB, free: 185.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02898/1.206, allocations: 20.2 MB / 0.8762 GB, free: 178.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007113/1.214, allocations: 6.815 MB / 0.8829 GB, free: 176.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002001/1.216, allocations: 490 kB / 0.8834 GB, free: 176.5 MB / 0.573 GB Notification: Performance of SimCode: time 2.214e-06/1.216, allocations: 0 / 0.8834 GB, free: 176.5 MB / 0.573 GB Notification: Performance of Templates: time 0.8412/2.057, allocations: 478.6 MB / 1.351 GB, free: 152.4 MB / 0.573 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 > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 14.14493412990123]