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.00133/0.00133, 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.001465/0.001465, allocations: 166.9 kB / 24.99 MB, free: 8.215 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.9202/0.9202, allocations: 177 MB / 205.2 MB, free: 5.059 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.2713/0.2713, allocations: 34.86 MB / 296.6 MB, free: 468 kB / 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.102e-06/1.102e-06, allocations: 0 / 378.1 MB, free: 3.047 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.38e-05, allocations: 5.266 kB / 378.1 MB, free: 3.043 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.03368/0.03369, allocations: 41.08 MB / 419.2 MB, free: 9.789 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01966/0.05335, allocations: 11.13 MB / 430.3 MB, free: 14.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005913/0.05926, allocations: 381.9 kB / 430.7 MB, free: 14.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01286/0.07212, allocations: 9.359 MB / 440 MB, free: 4.848 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008119/0.08024, allocations: 3.766 MB / 443.8 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1538/0.234, allocations: 2.459 MB / 446.3 MB, free: 46.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01367/0.2477, allocations: 14 MB / 460.3 MB, free: 44.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02064/0.2683, allocations: 17.45 MB / 477.7 MB, free: 37.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01239/0.2807, allocations: 10.68 MB / 488.4 MB, free: 32.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01046/0.2912, allocations: 7.591 MB / 496 MB, free: 30.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004368/0.2956, allocations: 1.994 MB / 498 MB, free: 30.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003844/0.2994, allocations: 2.4 MB / 0.4886 GB, free: 30.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002289/0.3017, allocations: 4.191 MB / 0.4927 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00715/0.3088, allocations: 5.285 MB / 0.4979 GB, free: 25.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.3215, allocations: 12.91 MB / 0.5105 GB, free: 19.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3215, allocations: 4 kB / 0.5105 GB, free: 19.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3215, allocations: 0 / 0.5105 GB, free: 19.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003097/0.3218, allocations: 0 / 0.5105 GB, free: 19.31 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.02402/0.3459, allocations: 16.58 MB / 0.5267 GB, free: 6.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3459, allocations: 8.031 kB / 0.5267 GB, free: 6.012 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01776/0.3637, allocations: 7.997 MB / 0.5345 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01066/0.3743, allocations: 7.925 MB / 0.5422 GB, free: 8.059 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004766/0.3748, allocations: 0.9302 MB / 0.5432 GB, free: 7.137 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00173/0.3765, allocations: 1.232 MB / 0.5444 GB, free: 5.914 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01899/0.3955, allocations: 10.57 MB / 0.5547 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002007/0.3957, allocations: 23.27 kB / 0.5547 GB, free: 11.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008692/0.3966, allocations: 0.5047 MB / 0.5552 GB, free: 10.69 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004447/0.397, allocations: 0.6504 MB / 0.5558 GB, free: 10.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/0.4092, allocations: 5.569 MB / 0.5613 GB, free: 4.473 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05618/0.4654, allocations: 49.18 MB / 0.6093 GB, free: 3.039 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1791/0.6445, allocations: 9.028 MB / 0.6181 GB, free: 143.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003029/0.6475, allocations: 1.731 MB / 0.6198 GB, free: 143 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00874/0.6563, allocations: 5.855 MB / 0.6255 GB, free: 142.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.6563, allocations: 78.73 kB / 0.6256 GB, free: 142.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=361): time 4.99e-06/0.6563, allocations: 3.938 kB / 0.6256 GB, free: 142.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=403): time 0.01813/0.6744, allocations: 10.97 MB / 0.6363 GB, free: 140.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.6745, allocations: 101.1 kB / 0.6364 GB, free: 140.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005637/0.6801, allocations: 4.622 MB / 0.6409 GB, free: 140 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002026/0.6803, allocations: 88.95 kB / 0.641 GB, free: 140 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00271/0.683, allocations: 6.083 MB / 0.6469 GB, free: 136.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009155/0.6839, allocations: 1.499 MB / 0.6484 GB, free: 135.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001648/0.6856, allocations: 1.501 MB / 0.6499 GB, free: 134.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.6856, allocations: 481.7 kB / 0.6503 GB, free: 134.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/0.6875, allocations: 0.9878 MB / 0.6513 GB, free: 134.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003299/0.6908, allocations: 5.561 MB / 0.6567 GB, free: 128 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006006/0.6969, allocations: 7.234 MB / 0.6638 GB, free: 120.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001012/0.697, allocations: 29.16 kB / 0.6638 GB, free: 120.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=890) (initialization): time 0.008716/0.7057, allocations: 6.328 MB / 0.67 GB, free: 118.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.114e-05/0.7057, allocations: 56.91 kB / 0.6701 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-05/0.7058, allocations: 102.3 kB / 0.6702 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/0.7076, allocations: 0.884 MB / 0.671 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003238/0.7108, allocations: 1.635 MB / 0.6726 GB, free: 118.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006098/0.7169, allocations: 8.451 MB / 0.6809 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/0.7201, allocations: 418 kB / 0.6813 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003599/0.7205, allocations: 367 kB / 0.6816 GB, free: 111.4 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.003165/0.7237, allocations: 0.6422 MB / 0.6822 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000796/0.7245, allocations: 0.655 MB / 0.6829 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005287/0.7298, allocations: 3.8 MB / 0.6866 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.7298, allocations: 43.47 kB / 0.6866 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.7298, allocations: 10.53 kB / 0.6866 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/0.7298, allocations: 19.83 kB / 0.6867 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/0.7455, allocations: 11.86 MB / 0.6982 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.7455, allocations: 4 kB / 0.6983 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/0.7473, allocations: 0.778 MB / 0.699 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/0.7489, allocations: 0.7462 MB / 0.6997 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002456/0.7492, allocations: 87.5 kB / 0.6998 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005087/0.7542, allocations: 8.008 MB / 0.7076 GB, free: 94.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.7543, allocations: 4 kB / 0.7076 GB, free: 94.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007143/0.7614, allocations: 4.795 MB / 0.7123 GB, free: 89.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/0.7631, allocations: 0.9586 MB / 0.7133 GB, free: 89.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004057/0.7635, allocations: 79.94 kB / 0.7133 GB, free: 89.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.7648, allocations: 215.4 kB / 0.7135 GB, free: 88.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003509/0.7651, allocations: 299.3 kB / 0.7138 GB, free: 88.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/0.7653, allocations: 119.7 kB / 0.7139 GB, free: 88.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002938/0.7683, allocations: 2.18 MB / 0.7161 GB, free: 86.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7683, allocations: 0 / 0.7161 GB, free: 86.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006721/0.775, allocations: 1.937 MB / 0.718 GB, free: 84.95 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.0005664/0.7755, allocations: 265 kB / 0.7182 GB, free: 84.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006434/0.782, allocations: 4.768 MB / 0.7229 GB, free: 80.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.782, allocations: 4 kB / 0.7229 GB, free: 80.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002342/0.7843, allocations: 2.342 MB / 0.7252 GB, free: 78.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003362/0.7877, allocations: 1.312 MB / 0.7264 GB, free: 77.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/0.8095, allocations: 17.38 MB / 0.7434 GB, free: 60.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004413/0.8139, allocations: 6.234 MB / 0.7495 GB, free: 55.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001911/0.8158, allocations: 488.4 kB / 0.75 GB, free: 55.04 MB / 490.7 MB Notification: Performance of SimCode: time 2.565e-06/0.8159, allocations: 0 / 0.75 GB, free: 55.04 MB / 490.7 MB Notification: Performance of Templates: time 0.7317/1.548, allocations: 477.6 MB / 1.216 GB, free: 120.4 MB / 490.7 MB " [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: 6.390759534202516]