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.001117/0.001117, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001145/0.001145, allocations: 156.4 kB / 24.98 MB, free: 8.75 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.9517/0.9517, allocations: 177 MB / 205.2 MB, free: 5.59 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.2544/0.2544, allocations: 34.86 MB / 296.6 MB, free: 0.5625 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.723e-06/1.723e-06, allocations: 0 / 378.9 MB, free: 2.277 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.074e-05, allocations: 4.844 kB / 378.9 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.04749/0.04752, allocations: 41.06 MB / 420 MB, free: 9.035 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0225/0.07002, allocations: 11.14 MB / 431.1 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004954/0.07497, allocations: 381.9 kB / 431.5 MB, free: 13.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00914/0.08411, allocations: 9.355 MB / 440.8 MB, free: 4.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006269/0.09038, allocations: 3.782 MB / 444.6 MB, free: 292 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1452/0.2356, allocations: 2.446 MB / 447.1 MB, free: 47.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01002/0.2456, allocations: 13.98 MB / 461 MB, free: 44.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01547/0.2611, allocations: 17.46 MB / 478.5 MB, free: 37.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009427/0.2705, allocations: 10.67 MB / 489.2 MB, free: 32.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007896/0.2784, allocations: 7.564 MB / 496.7 MB, free: 30.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002517/0.2809, allocations: 1.991 MB / 498.7 MB, free: 30.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002835/0.2838, allocations: 2.396 MB / 0.4894 GB, free: 30.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00216/0.2859, allocations: 4.198 MB / 0.4935 GB, free: 27.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00581/0.2917, allocations: 5.276 MB / 0.4986 GB, free: 25.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01199/0.3037, allocations: 12.91 MB / 0.5112 GB, free: 19.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3037, allocations: 0.8125 kB / 0.5112 GB, free: 19.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3037, allocations: 0 / 0.5112 GB, free: 19.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003287/0.3041, allocations: 0 / 0.5112 GB, free: 19.48 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.01994/0.324, allocations: 16.58 MB / 0.5274 GB, free: 5.961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.324, allocations: 12.03 kB / 0.5274 GB, free: 5.949 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01747/0.3415, allocations: 8.005 MB / 0.5353 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/0.3519, allocations: 7.921 MB / 0.543 GB, free: 7.785 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004678/0.3523, allocations: 0.9272 MB / 0.5439 GB, free: 6.867 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001394/0.3537, allocations: 1.228 MB / 0.5451 GB, free: 5.648 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01681/0.3705, allocations: 10.56 MB / 0.5554 GB, free: 10.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002096/0.3707, allocations: 23.89 kB / 0.5554 GB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000983/0.3717, allocations: 0.5038 MB / 0.5559 GB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004502/0.3722, allocations: 0.6653 MB / 0.5566 GB, free: 9.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/0.3835, allocations: 5.561 MB / 0.562 GB, free: 4.211 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0497/0.4332, allocations: 49.18 MB / 0.61 GB, free: 2.766 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1584/0.5916, allocations: 9.02 MB / 0.6188 GB, free: 144.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00266/0.5942, allocations: 1.733 MB / 0.6205 GB, free: 144.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007852/0.6021, allocations: 5.854 MB / 0.6262 GB, free: 143.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.6021, allocations: 74.89 kB / 0.6263 GB, free: 143.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=361): time 4.799e-06/0.6021, allocations: 0 / 0.6263 GB, free: 143.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=403): time 0.01676/0.6189, allocations: 10.98 MB / 0.637 GB, free: 141.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.6189, allocations: 92.8 kB / 0.6371 GB, free: 141.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005208/0.6241, allocations: 4.623 MB / 0.6416 GB, free: 140.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001926/0.6243, allocations: 89.95 kB / 0.6417 GB, free: 140.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002621/0.6269, allocations: 6.085 MB / 0.6477 GB, free: 137.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007451/0.6277, allocations: 1.488 MB / 0.6491 GB, free: 136.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001602/0.6293, allocations: 1.51 MB / 0.6506 GB, free: 135.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.837e-05/0.6293, allocations: 478.1 kB / 0.6511 GB, free: 135 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/0.6312, allocations: 0.9876 MB / 0.652 GB, free: 134.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00321/0.6344, allocations: 5.562 MB / 0.6575 GB, free: 128.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005246/0.6397, allocations: 7.233 MB / 0.6645 GB, free: 121.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.525e-05/0.6397, allocations: 27.59 kB / 0.6645 GB, free: 121.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=890) (initialization): time 0.00787/0.6476, allocations: 6.329 MB / 0.6707 GB, free: 119.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.797e-05/0.6476, allocations: 56.41 kB / 0.6708 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.259e-05/0.6477, allocations: 102.4 kB / 0.6709 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/0.6495, allocations: 0.8944 MB / 0.6718 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002947/0.6525, allocations: 1.628 MB / 0.6733 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005638/0.6581, allocations: 8.455 MB / 0.6816 GB, free: 112.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/0.6608, allocations: 410 kB / 0.682 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003294/0.6612, allocations: 371.8 kB / 0.6823 GB, free: 112.1 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.002667/0.6638, allocations: 0.639 MB / 0.683 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007209/0.6646, allocations: 0.657 MB / 0.6836 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005336/0.6699, allocations: 3.798 MB / 0.6873 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.6699, allocations: 46.66 kB / 0.6874 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.6699, allocations: 7.781 kB / 0.6874 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.675e-05/0.67, allocations: 20.2 kB / 0.6874 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/0.6838, allocations: 11.87 MB / 0.699 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.6838, allocations: 4.5 kB / 0.699 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.6854, allocations: 0.7748 MB / 0.6997 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/0.6868, allocations: 0.7377 MB / 0.7005 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/0.687, allocations: 93.33 kB / 0.7006 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004341/0.6913, allocations: 8.004 MB / 0.7084 GB, free: 94.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6913, allocations: 7.938 kB / 0.7084 GB, free: 94.72 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005658/0.697, allocations: 4.791 MB / 0.7131 GB, free: 90.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.6982, allocations: 0.9619 MB / 0.714 GB, free: 89.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004015/0.6986, allocations: 72 kB / 0.7141 GB, free: 89.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.6997, allocations: 224 kB / 0.7143 GB, free: 89.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003355/0.7001, allocations: 294.9 kB / 0.7146 GB, free: 89.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.7002, allocations: 123.5 kB / 0.7147 GB, free: 88.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002138/0.7024, allocations: 2.176 MB / 0.7168 GB, free: 87.17 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7024, allocations: 0 / 0.7168 GB, free: 87.17 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004402/0.7068, allocations: 1.941 MB / 0.7187 GB, free: 85.23 MB / 490.7 MB 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.0003913/0.7071, allocations: 267 kB / 0.7189 GB, free: 84.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005109/0.7123, allocations: 4.777 MB / 0.7236 GB, free: 80.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.7123, allocations: 4 kB / 0.7236 GB, free: 80.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002062/0.7143, allocations: 2.343 MB / 0.7259 GB, free: 78.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/0.7171, allocations: 1.307 MB / 0.7272 GB, free: 77.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/0.7348, allocations: 17.64 MB / 0.7444 GB, free: 61.08 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/0.7366, allocations: 3.101 MB / 0.7474 GB, free: 58.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00297/0.7396, allocations: 1.848 MB / 0.7492 GB, free: 57.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007228/0.7403, allocations: 424.4 kB / 0.7496 GB, free: 56.95 MB / 490.7 MB Notification: Performance of SimCode: time 1.553e-06/0.7403, allocations: 0 / 0.7496 GB, free: 56.95 MB / 490.7 MB Notification: Performance of Templates: time 0.2054/0.9458, allocations: 68.85 MB / 0.8169 GB, free: 147.7 MB / 490.7 MB " [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.139124916866422]