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.001037/0.001037, allocations: 114.9 kB / 21.19 MB, free: 4.383 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.0009754/0.0009754, allocations: 217.3 kB / 24.48 MB, free: 1.379 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.9396/0.9396, allocations: 230.6 MB / 258.2 MB, free: 3.086 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.1685/0.1685, allocations: 47.7 MB / 362.4 MB, free: 15.41 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.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.001851/0.001851, allocations: 95.84 kB / 0.4978 GB, free: 3.184 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2994, allocations: 66.22 MB / 0.5625 GB, free: 13.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.02582/0.3252, allocations: 35.95 MB / 0.5976 GB, free: 9.527 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01794/0.3431, allocations: 10.9 MB / 0.6082 GB, free: 14.59 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004452/0.3476, allocations: 381.9 kB / 0.6086 GB, free: 14.21 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008571/0.3562, allocations: 8.263 MB / 0.6166 GB, free: 5.926 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006815/0.363, allocations: 3.658 MB / 0.6202 GB, free: 2.25 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003579/0.3666, allocations: 2.405 MB / 0.6226 GB, free: 15.85 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01065/0.3772, allocations: 13.51 MB / 0.6358 GB, free: 2.289 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01714/0.3944, allocations: 17.38 MB / 0.6527 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007381/0.4017, allocations: 7.157 MB / 0.6597 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008132/0.4099, allocations: 7.695 MB / 0.6672 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.002333/0.4122, allocations: 1.988 MB / 0.6692 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003346/0.4155, allocations: 2.382 MB / 0.6715 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002364/0.4179, allocations: 4.048 MB / 0.6755 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.007365/0.4253, allocations: 6.078 MB / 0.6814 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.5315/0.9568, allocations: 26.66 MB / 0.7074 GB, free: 46.99 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.9568, allocations: 1.219 kB / 0.7074 GB, free: 46.99 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9568, allocations: 0 / 0.7074 GB, free: 46.99 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0007555/0.9575, allocations: 0 / 0.7074 GB, free: 46.99 MB / 0.5262 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.03752/0.9951, allocations: 15.69 MB / 0.7228 GB, free: 42.49 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.9951, allocations: 6.844 kB / 0.7228 GB, free: 42.49 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01769/1.013, allocations: 6.2 MB / 0.7288 GB, free: 41.73 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01586/1.029, allocations: 8.311 MB / 0.7369 GB, free: 39.66 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006717/1.029, allocations: 0.9287 MB / 0.7378 GB, free: 39.64 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003974/1.033, allocations: 1.238 MB / 0.739 GB, free: 39.36 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02755/1.061, allocations: 19.27 MB / 0.7579 GB, free: 26.64 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002405/1.061, allocations: 23.27 kB / 0.7579 GB, free: 26.62 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009548/1.062, allocations: 0.5104 MB / 0.7584 GB, free: 26.13 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003368/1.062, allocations: 0.6543 MB / 0.759 GB, free: 25.47 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02065/1.083, allocations: 17.01 MB / 0.7756 GB, free: 8.461 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06664/1.15, allocations: 52.05 MB / 0.8265 GB, free: 4.203 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/1.16, allocations: 10.39 MB / 0.8366 GB, free: 11.52 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00347/1.164, allocations: 3.476 MB / 0.84 GB, free: 8.031 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/1.174, allocations: 7.867 MB / 0.8477 GB, free: 292 kB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/1.174, allocations: 73.41 kB / 0.8478 GB, free: 208 kB / 0.5887 GB Notification: Performance of pre-optimization done (n=361): time 5.15e-06/1.174, allocations: 0 / 0.8478 GB, free: 208 kB / 0.5887 GB Notification: Performance of matching and sorting (n=403): time 0.02419/1.199, allocations: 17.53 MB / 0.8649 GB, free: 14.73 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/1.199, allocations: 90.58 kB / 0.865 GB, free: 14.62 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0058/1.204, allocations: 5.01 MB / 0.8699 GB, free: 9.613 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0002102/1.205, allocations: 89.7 kB / 0.8699 GB, free: 9.52 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.002712/1.207, allocations: 5.831 MB / 0.8756 GB, free: 3.676 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008817/1.208, allocations: 1.463 MB / 0.8771 GB, free: 2.23 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/1.21, allocations: 1.37 MB / 0.8784 GB, free: 0.8516 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 7.19e-05/1.21, allocations: 309.1 kB / 0.8787 GB, free: 0.5469 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003333/1.213, allocations: 2.974 MB / 0.8816 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004677/1.218, allocations: 6.07 MB / 0.8875 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008551/1.226, allocations: 9.682 MB / 0.897 GB, free: 11.38 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.499e-05/1.226, allocations: 28 kB / 0.897 GB, free: 11.35 MB / 0.6512 GB Notification: Performance of matching and sorting (n=890) (initialization): time 0.01169/1.238, allocations: 10.08 MB / 0.9069 GB, free: 1.848 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/1.238, allocations: 48 kB / 0.9069 GB, free: 1.801 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/1.238, allocations: 104 kB / 0.907 GB, free: 1.699 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/1.24, allocations: 0.9372 MB / 0.9079 GB, free: 0.75 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003203/1.243, allocations: 1.639 MB / 0.9095 GB, free: 15.23 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008171/1.251, allocations: 9.679 MB / 0.919 GB, free: 5.32 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003713/1.255, allocations: 427.6 kB / 0.9194 GB, free: 4.902 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004545/1.255, allocations: 368.1 kB / 0.9197 GB, free: 4.543 MB / 0.6668 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.006134/1.262, allocations: 4.305 MB / 0.9239 GB, free: 352 kB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009225/1.262, allocations: 0.5358 MB / 0.9245 GB, free: 15.8 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007711/1.27, allocations: 6.617 MB / 0.9309 GB, free: 9.172 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/1.27, allocations: 40 kB / 0.931 GB, free: 9.133 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/1.27, allocations: 8 kB / 0.931 GB, free: 9.125 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/1.27, allocations: 19.92 kB / 0.931 GB, free: 9.105 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/1.287, allocations: 13.78 MB / 0.9444 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/1.287, allocations: 4 kB / 0.9444 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/1.289, allocations: 0.77 MB / 0.9452 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/1.29, allocations: 0.793 MB / 0.946 GB, free: 9.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000231/1.29, allocations: 95.97 kB / 0.9461 GB, free: 9.727 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006844/1.297, allocations: 8.85 MB / 0.9547 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/1.297, allocations: 7.75 kB / 0.9547 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/1.308, allocations: 9.783 MB / 0.9643 GB, free: 6.734 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001756/1.309, allocations: 1.019 MB / 0.9653 GB, free: 5.715 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004413/1.31, allocations: 76 kB / 0.9653 GB, free: 5.641 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/1.311, allocations: 223.7 kB / 0.9655 GB, free: 5.422 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000365/1.311, allocations: 294.3 kB / 0.9658 GB, free: 5.137 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/1.312, allocations: 128 kB / 0.9659 GB, free: 5.012 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 0.003647/1.315, allocations: 3.191 MB / 0.9691 GB, free: 1.832 MB / 0.7137 GB Notification: Performance of sort global known variables: time 8e-08/1.315, allocations: 0 / 0.9691 GB, free: 1.832 MB / 0.7137 GB Notification: Performance of remove unused functions: time 0.2948/1.61, allocations: 1.937 MB / 0.971 GB, free: 271.3 MB / 0.7137 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.001514/1.612, allocations: 263.8 kB / 0.9712 GB, free: 271.2 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.01161/1.623, allocations: 7.395 MB / 0.9784 GB, free: 270.4 MB / 0.7137 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/1.623, allocations: 0 / 0.9784 GB, free: 270.4 MB / 0.7137 GB Notification: Performance of simCode: created simulation system equations: time 0.00495/1.628, allocations: 3.246 MB / 0.9816 GB, free: 269.9 MB / 0.7137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004658/1.633, allocations: 1.282 MB / 0.9828 GB, free: 269.4 MB / 0.7137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03516/1.668, allocations: 20.31 MB / 1.003 GB, free: 260.4 MB / 0.7137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008146/1.676, allocations: 6.829 MB / 1.009 GB, free: 255.7 MB / 0.7137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/1.678, allocations: 489.4 kB / 1.01 GB, free: 255.2 MB / 0.7137 GB Notification: Performance of SimCode: time 1.473e-06/1.678, allocations: 0 / 1.01 GB, free: 255.2 MB / 0.7137 GB Notification: Performance of Templates: time 0.6664/2.344, allocations: 478.8 MB / 1.477 GB, free: 71.99 MB / 0.7137 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: 15.759147304110229]