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.00101/0.00101, allocations: 88.25 kB / 22.22 MB, free: 2.277 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.001003/0.001003, allocations: 169.2 kB / 25.61 MB, free: 8.574 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.9835/0.9835, allocations: 177 MB / 205.9 MB, free: 4.453 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.1589/0.1589, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.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.472e-06/1.472e-06, allocations: 0 / 380.1 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.58e-05, allocations: 4.453 kB / 380.1 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.04288/0.0429, allocations: 39.3 MB / 419.4 MB, free: 15.13 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0241/0.067, allocations: 11.1 MB / 430.5 MB, free: 3.996 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009321/0.07632, allocations: 381.9 kB / 430.9 MB, free: 3.621 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01388/0.0902, allocations: 9.078 MB / 440 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01201/0.1022, allocations: 3.75 MB / 443.7 MB, free: 6.727 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007105/0.1093, allocations: 2.434 MB / 446.2 MB, free: 4.289 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01791/0.1272, allocations: 13.99 MB / 460.2 MB, free: 6.238 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03202/0.1592, allocations: 17.46 MB / 477.6 MB, free: 4.637 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02269/0.1819, allocations: 10.93 MB / 488.6 MB, free: 9.691 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01363/0.1956, allocations: 7.602 MB / 496.2 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005306/0.2009, allocations: 1.977 MB / 498.1 MB, free: 100 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2036/0.4045, allocations: 2.387 MB / 0.4888 GB, free: 45.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006936/0.4115, allocations: 4.16 MB / 0.4929 GB, free: 45.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01226/0.4237, allocations: 5.25 MB / 0.498 GB, free: 45.76 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02173/0.4454, allocations: 12.85 MB / 0.5105 GB, free: 44.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.679e-06/0.4454, allocations: 0 / 0.5105 GB, free: 44.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4454, allocations: 1.219 kB / 0.5105 GB, free: 44.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001137/0.4466, allocations: 0 / 0.5105 GB, free: 44.82 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.03751/0.4841, allocations: 15.93 MB / 0.5261 GB, free: 40.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.4841, allocations: 10.47 kB / 0.5261 GB, free: 40.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02504/0.5092, allocations: 6.334 MB / 0.5323 GB, free: 38.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01585/0.525, allocations: 7.459 MB / 0.5396 GB, free: 34.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009517/0.526, allocations: 0.9325 MB / 0.5405 GB, free: 34.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005808/0.5318, allocations: 1.23 MB / 0.5417 GB, free: 33.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03376/0.5656, allocations: 9.679 MB / 0.5511 GB, free: 25.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005841/0.5661, allocations: 26.77 kB / 0.5512 GB, free: 25.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003026/0.5692, allocations: 0.505 MB / 0.5516 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003765/0.5695, allocations: 0.6582 MB / 0.5523 GB, free: 24.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01766/0.5872, allocations: 4.363 MB / 0.5565 GB, free: 19.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08354/0.6707, allocations: 48.56 MB / 0.604 GB, free: 4.793 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00894/0.6797, allocations: 7.991 MB / 0.6118 GB, free: 14.56 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/0.6816, allocations: 1.496 MB / 0.6132 GB, free: 13.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.692, allocations: 5.515 MB / 0.6186 GB, free: 7.781 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.596e-05/0.692, allocations: 80.17 kB / 0.6187 GB, free: 7.691 MB / 458.7 MB Notification: Performance of pre-optimization done (n=361): time 5.4e-06/0.692, allocations: 0 / 0.6187 GB, free: 7.691 MB / 458.7 MB Notification: Performance of matching and sorting (n=403): time 0.01859/0.7106, allocations: 8.88 MB / 0.6274 GB, free: 14.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.7107, allocations: 97.42 kB / 0.6275 GB, free: 14.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007041/0.7177, allocations: 4.53 MB / 0.6319 GB, free: 10.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000302/0.718, allocations: 89.7 kB / 0.632 GB, free: 10.88 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003559/0.7216, allocations: 6.13 MB / 0.638 GB, free: 4.934 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001706/0.7233, allocations: 1.503 MB / 0.6394 GB, free: 3.512 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/0.725, allocations: 1.518 MB / 0.6409 GB, free: 2.117 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.7251, allocations: 484.3 kB / 0.6414 GB, free: 1.645 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.7263, allocations: 0.7551 MB / 0.6421 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003911/0.7302, allocations: 5.369 MB / 0.6473 GB, free: 9.758 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007124/0.7373, allocations: 6.855 MB / 0.654 GB, free: 1.492 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001035/0.7374, allocations: 28 kB / 0.6541 GB, free: 1.465 MB / 490.7 MB Notification: Performance of matching and sorting (n=890) (initialization): time 0.008998/0.7464, allocations: 5.774 MB / 0.6597 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.578e-05/0.7465, allocations: 53.09 kB / 0.6598 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.551e-05/0.7466, allocations: 100.8 kB / 0.6599 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001686/0.7482, allocations: 0.8457 MB / 0.6607 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/0.7511, allocations: 1.515 MB / 0.6622 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006108/0.7572, allocations: 8.176 MB / 0.6701 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003796/0.761, allocations: 295.8 kB / 0.6704 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006335/0.7616, allocations: 308 kB / 0.6707 GB, free: 0.9648 MB / 0.4948 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.00414/0.7658, allocations: 0.6341 MB / 0.6713 GB, free: 448 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2121/0.9779, allocations: 0.6579 MB / 0.672 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0056/0.9835, allocations: 3.38 MB / 0.6753 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.9835, allocations: 40.12 kB / 0.6753 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.9835, allocations: 6.75 kB / 0.6753 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.307e-05/0.9835, allocations: 28.06 kB / 0.6754 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/0.9976, allocations: 8.982 MB / 0.6841 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.9976, allocations: 3.281 kB / 0.6841 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.9992, allocations: 0.667 MB / 0.6848 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00146/1.001, allocations: 0.711 MB / 0.6855 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002303/1.001, allocations: 92.55 kB / 0.6856 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004766/1.006, allocations: 7.757 MB / 0.6931 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.006, allocations: 9.344 kB / 0.6931 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00529/1.011, allocations: 4.213 MB / 0.6973 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/1.012, allocations: 0.8743 MB / 0.6981 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000416/1.013, allocations: 80.91 kB / 0.6982 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/1.014, allocations: 106.7 kB / 0.6983 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003454/1.014, allocations: 301.7 kB / 0.6986 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/1.014, allocations: 94.19 kB / 0.6987 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001882/1.016, allocations: 1.988 MB / 0.7006 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.01e-07/1.016, allocations: 0 / 0.7006 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004826/1.021, allocations: 1.922 MB / 0.7025 GB, free: 119.4 MB / 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.0004381/1.021, allocations: 269.4 kB / 0.7027 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004406/1.026, allocations: 4.363 MB / 0.707 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.026, allocations: 0 / 0.707 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001886/1.028, allocations: 2.169 MB / 0.7091 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/1.031, allocations: 1.307 MB / 0.7104 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02359/1.054, allocations: 17.48 MB / 0.7275 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004139/1.058, allocations: 3.097 MB / 0.7305 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003302/1.062, allocations: 0.8531 MB / 0.7313 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002269/1.064, allocations: 1.347 MB / 0.7326 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of SimCode: time 2.785e-06/1.064, allocations: 0 / 0.7326 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.1048/1.169, allocations: 75.59 MB / 0.8065 GB, free: 31.45 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.961574221029878]