Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.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.001056/0.001056, allocations: 84.34 kB / 22.21 MB, free: 2.289 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.001223/0.001223, allocations: 162 kB / 25.61 MB, free: 8.59 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.9599/0.9599, allocations: 177 MB / 205.9 MB, free: 4.441 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.1633/0.1633, allocations: 34.87 MB / 297.4 MB, free: 13.33 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.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 380.1 MB, free: 22.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.395e-05, allocations: 3.719 kB / 380.1 MB, free: 22.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.03151/0.03154, allocations: 25.77 MB / 405.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01488/0.04642, allocations: 7.441 MB / 413.4 MB, free: 5.254 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004771/0.05119, allocations: 218.7 kB / 413.6 MB, free: 5.039 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004905/0.05609, allocations: 1.793 MB / 415.4 MB, free: 3.234 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007579/0.06367, allocations: 2.526 MB / 417.9 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003704/0.06738, allocations: 1.562 MB / 419.4 MB, free: 15.13 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01117/0.07854, allocations: 9.182 MB / 428.6 MB, free: 5.914 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006633/0.08518, allocations: 4.015 MB / 432.6 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01139/0.09656, allocations: 6.437 MB / 439.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007604/0.1042, allocations: 4.326 MB / 443.4 MB, free: 7.031 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002923/0.1071, allocations: 1.121 MB / 444.5 MB, free: 5.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004123/0.1112, allocations: 1.343 MB / 445.9 MB, free: 4.566 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003636/0.1149, allocations: 2.617 MB / 448.5 MB, free: 1.941 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00715/0.122, allocations: 3.263 MB / 451.7 MB, free: 14.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01206/0.1341, allocations: 7.508 MB / 459.3 MB, free: 7.141 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.1341, allocations: 0 / 459.3 MB, free: 7.141 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1341, allocations: 0 / 459.3 MB, free: 7.141 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003552/0.1344, allocations: 0 / 459.3 MB, free: 7.141 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01738/0.1518, allocations: 9.659 MB / 468.9 MB, free: 13.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1519, allocations: 12.03 kB / 468.9 MB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00696/0.1588, allocations: 2.532 MB / 471.5 MB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008221/0.167, allocations: 4.687 MB / 476.1 MB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004302/0.1675, allocations: 0.5342 MB / 476.7 MB, free: 5.523 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001645/0.1691, allocations: 0.7151 MB / 477.4 MB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/0.1793, allocations: 5.392 MB / 482.8 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001375/0.1794, allocations: 11.89 kB / 482.8 MB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006812/0.1801, allocations: 300 kB / 483.1 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002371/0.1803, allocations: 354.6 kB / 483.4 MB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005209/0.1856, allocations: 2.203 MB / 485.6 MB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3478/0.5333, allocations: 24.07 MB / 0.4978 GB, free: 68.84 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006112/0.5394, allocations: 4.866 MB / 0.5025 GB, free: 68.65 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00271/0.5422, allocations: 2.12 MB / 0.5046 GB, free: 68.57 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008165/0.5503, allocations: 5.421 MB / 0.5099 GB, free: 68.04 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.5504, allocations: 68.36 kB / 0.5099 GB, free: 67.99 MB / 410.8 MB Notification: Performance of pre-optimization done (n=281): time 4.629e-06/0.5504, allocations: 0 / 0.5099 GB, free: 67.99 MB / 410.8 MB Notification: Performance of matching and sorting (n=289): time 0.01181/0.5622, allocations: 6.408 MB / 0.5162 GB, free: 67 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.5622, allocations: 83.25 kB / 0.5163 GB, free: 66.93 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.5647, allocations: 2.853 MB / 0.5191 GB, free: 66.56 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001579/0.5648, allocations: 76.89 kB / 0.5191 GB, free: 66.53 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001417/0.5662, allocations: 3.553 MB / 0.5226 GB, free: 65.28 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000568/0.5668, allocations: 1.069 MB / 0.5237 GB, free: 64.7 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006172/0.5674, allocations: 0.7066 MB / 0.5243 GB, free: 64.63 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.803e-05/0.5675, allocations: 480.2 kB / 0.5248 GB, free: 64.16 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005175/0.568, allocations: 424.3 kB / 0.5252 GB, free: 64.15 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.569, allocations: 2.138 MB / 0.5273 GB, free: 62.1 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.571, allocations: 2.835 MB / 0.5301 GB, free: 59.08 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-05/0.571, allocations: 12 kB / 0.5301 GB, free: 59.07 MB / 410.8 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.003736/0.5748, allocations: 3.043 MB / 0.533 GB, free: 56.21 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.5748, allocations: 23.98 kB / 0.5331 GB, free: 56.19 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.5748, allocations: 36 kB / 0.5331 GB, free: 56.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007972/0.5756, allocations: 473.4 kB / 0.5336 GB, free: 55.69 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.5772, allocations: 0.8134 MB / 0.5344 GB, free: 54.93 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003582/0.5807, allocations: 8.865 MB / 0.543 GB, free: 45.73 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/0.583, allocations: 131.9 kB / 0.5431 GB, free: 45.6 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/0.5832, allocations: 139.9 kB / 0.5433 GB, free: 45.46 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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 (446): * Single equations (assignments): 440 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * 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): 4 systems {(1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001619/0.5848, allocations: 396.4 kB / 0.5436 GB, free: 45.12 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007043/0.5855, allocations: 485.5 kB / 0.5441 GB, free: 44.64 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/0.5884, allocations: 2.548 MB / 0.5466 GB, free: 42.08 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.5884, allocations: 28 kB / 0.5466 GB, free: 42.05 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.5884, allocations: 19.94 kB / 0.5466 GB, free: 42.04 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.5884, allocations: 15.94 kB / 0.5467 GB, free: 42.02 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008647/0.5971, allocations: 7.367 MB / 0.5539 GB, free: 35.41 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.5971, allocations: 4 kB / 0.5539 GB, free: 35.41 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009015/0.598, allocations: 413.3 kB / 0.5542 GB, free: 35.02 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/0.5995, allocations: 0.8709 MB / 0.5551 GB, free: 34.15 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.5996, allocations: 79.97 kB / 0.5552 GB, free: 34.07 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007283/0.6069, allocations: 17.23 MB / 0.572 GB, free: 16.3 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6069, allocations: 4 kB / 0.572 GB, free: 16.3 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004424/0.6113, allocations: 3.336 MB / 0.5753 GB, free: 12.87 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/0.6127, allocations: 0.6494 MB / 0.5759 GB, free: 12.22 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/0.613, allocations: 71.92 kB / 0.576 GB, free: 12.15 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008415/0.6138, allocations: 107.3 kB / 0.5761 GB, free: 12.05 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004726/0.6143, allocations: 237.4 kB / 0.5763 GB, free: 11.82 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.6144, allocations: 67.97 kB / 0.5764 GB, free: 11.75 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.001354/0.6158, allocations: 1.462 MB / 0.5778 GB, free: 10.45 MB / 410.8 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6158, allocations: 4 kB / 0.5778 GB, free: 10.45 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00354/0.6193, allocations: 1.227 MB / 0.579 GB, free: 9.219 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.x) * 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 (217): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,8,100.0%), (4,33,93.8%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,13,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004044/0.6197, allocations: 229.3 kB / 0.5792 GB, free: 9.004 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.002921/0.6226, allocations: 2.673 MB / 0.5818 GB, free: 6.402 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.6226, allocations: 4 kB / 0.5818 GB, free: 6.398 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.6247, allocations: 2.552 MB / 0.5843 GB, free: 3.805 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/0.6276, allocations: 0.994 MB / 0.5853 GB, free: 2.852 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/0.6429, allocations: 11.14 MB / 0.5962 GB, free: 7.598 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/0.6444, allocations: 1.725 MB / 0.5979 GB, free: 5.844 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.001855/0.6462, allocations: 0.5444 MB / 0.5984 GB, free: 5.293 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001866/0.6481, allocations: 1.025 MB / 0.5994 GB, free: 4.266 MB / 426.8 MB Notification: Performance of SimCode: time 2.094e-06/0.6481, allocations: 0 / 0.5994 GB, free: 4.266 MB / 426.8 MB Notification: Performance of Templates: time 0.0841/0.7322, allocations: 59.21 MB / 0.6572 GB, free: 9.789 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2221816424280405]