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.001345/0.001345, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001206/0.001206, allocations: 161 kB / 24.91 MB, free: 9.184 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.9746/0.9746, allocations: 177 MB / 205.2 MB, free: 5.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.2688/0.2688, allocations: 34.86 MB / 296.6 MB, free: 0.5 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.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.402e-06/1.402e-06, allocations: 0 / 326.1 MB, free: 7.023 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.202e-05, allocations: 2.312 kB / 326.1 MB, free: 7.02 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase): time 0.01955/0.01957, allocations: 25.78 MB / 351.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01513/0.0347, allocations: 7.81 MB / 359.6 MB, free: 5.289 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004716/0.03942, allocations: 218.7 kB / 359.9 MB, free: 5.074 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00543/0.04485, allocations: 1.843 MB / 361.7 MB, free: 3.219 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008089/0.05294, allocations: 2.542 MB / 364.2 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003912/0.05685, allocations: 1.563 MB / 365.8 MB, free: 15.1 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.009803/0.06665, allocations: 9.206 MB / 375 MB, free: 5.859 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006844/0.07349, allocations: 4.108 MB / 379.1 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01134/0.08484, allocations: 6.433 MB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006986/0.09182, allocations: 4.342 MB / 389.9 MB, free: 6.836 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002837/0.09466, allocations: 1.121 MB / 391 MB, free: 5.715 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003675/0.09834, allocations: 1.347 MB / 392.4 MB, free: 4.367 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002786/0.1011, allocations: 2.617 MB / 395 MB, free: 1.742 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006342/0.1075, allocations: 3.259 MB / 398.2 MB, free: 14.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.118, allocations: 7.508 MB / 405.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.118, allocations: 0 / 405.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.118, allocations: 0 / 405.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003303/0.1184, allocations: 4 kB / 405.8 MB, free: 6.941 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.0148/0.1332, allocations: 9.206 MB / 415 MB, free: 13.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1332, allocations: 8.031 kB / 415 MB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00546/0.1387, allocations: 2.392 MB / 417.4 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00624/0.1449, allocations: 3.076 MB / 420.4 MB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003299/0.1452, allocations: 0.5342 MB / 421 MB, free: 7.543 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/0.1463, allocations: 0.719 MB / 421.7 MB, free: 6.824 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009094/0.1554, allocations: 5.51 MB / 427.2 MB, free: 1.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001242/0.1556, allocations: 19.88 kB / 427.2 MB, free: 1.141 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000449/0.156, allocations: 296 kB / 427.5 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002347/0.1562, allocations: 350.6 kB / 427.8 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004619/0.1609, allocations: 2.239 MB / 430.1 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.307/0.4678, allocations: 18.92 MB / 449 MB, free: 72.34 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0044/0.4722, allocations: 4.166 MB / 453.2 MB, free: 72.11 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002225/0.4745, allocations: 2 MB / 455.2 MB, free: 72.05 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007896/0.4824, allocations: 4.315 MB / 459.5 MB, free: 71.64 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.4824, allocations: 64.62 kB / 459.5 MB, free: 71.6 MB / 410.8 MB Notification: Performance of pre-optimization done (n=281): time 6.341e-06/0.4824, allocations: 0 / 459.5 MB, free: 71.6 MB / 410.8 MB Notification: Performance of matching and sorting (n=289): time 0.01238/0.4948, allocations: 5.877 MB / 465.4 MB, free: 70.88 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.4948, allocations: 80.94 kB / 465.5 MB, free: 70.82 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002418/0.4973, allocations: 2.439 MB / 467.9 MB, free: 70.54 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001853/0.4974, allocations: 71.2 kB / 468 MB, free: 70.5 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.4986, allocations: 2.847 MB / 470.9 MB, free: 69.31 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005591/0.4992, allocations: 1.033 MB / 471.9 MB, free: 68.73 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006926/0.4999, allocations: 0.6318 MB / 472.5 MB, free: 68.68 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.631e-05/0.4999, allocations: 305.1 kB / 472.8 MB, free: 68.38 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006781/0.5006, allocations: 428.4 kB / 473.2 MB, free: 68.36 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009887/0.5016, allocations: 1.575 MB / 474.8 MB, free: 66.98 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002062/0.5036, allocations: 2.354 MB / 477.2 MB, free: 65.57 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.962e-05/0.5037, allocations: 10.94 kB / 477.2 MB, free: 65.57 MB / 410.8 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.003726/0.5074, allocations: 2.452 MB / 479.6 MB, free: 64.48 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.5074, allocations: 20 kB / 479.7 MB, free: 64.46 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/0.5075, allocations: 36 kB / 479.7 MB, free: 64.43 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009738/0.5084, allocations: 437.4 kB / 480.1 MB, free: 64.09 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/0.5104, allocations: 0.8055 MB / 480.9 MB, free: 63.47 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003953/0.5144, allocations: 6.463 MB / 487.4 MB, free: 57.56 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.5167, allocations: 137.1 kB / 487.5 MB, free: 57.49 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/0.5169, allocations: 131.8 kB / 487.6 MB, free: 57.4 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.001534/0.5185, allocations: 351.8 kB / 488 MB, free: 57.2 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006493/0.5191, allocations: 325.6 kB / 488.3 MB, free: 57 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/0.5222, allocations: 2.151 MB / 490.5 MB, free: 55.3 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.5222, allocations: 28 kB / 490.5 MB, free: 55.27 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.5223, allocations: 16 kB / 490.5 MB, free: 55.25 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/0.5223, allocations: 15.94 kB / 490.5 MB, free: 55.24 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009831/0.5321, allocations: 5.805 MB / 496.3 MB, free: 50.93 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.5321, allocations: 4 kB / 496.3 MB, free: 50.93 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.5333, allocations: 401.1 kB / 496.7 MB, free: 50.57 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001952/0.5353, allocations: 0.8329 MB / 497.6 MB, free: 49.79 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001791/0.5355, allocations: 72.09 kB / 497.6 MB, free: 49.76 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/0.5467, allocations: 12.72 MB / 0.4984 GB, free: 37.99 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/0.5467, allocations: 11.17 kB / 0.4984 GB, free: 37.98 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006399/0.5531, allocations: 2.772 MB / 0.5011 GB, free: 35.32 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002357/0.5555, allocations: 435 kB / 0.5015 GB, free: 34.94 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001151/0.5566, allocations: 65.81 kB / 0.5016 GB, free: 34.92 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/0.5586, allocations: 102.1 kB / 0.5017 GB, free: 34.86 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006268/0.5592, allocations: 226.8 kB / 0.5019 GB, free: 34.67 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000195/0.5594, allocations: 65.28 kB / 0.502 GB, free: 34.62 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002454/0.5619, allocations: 1.237 MB / 0.5032 GB, free: 33.61 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5619, allocations: 0 / 0.5032 GB, free: 33.61 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.006081/0.5679, allocations: 1.233 MB / 0.5044 GB, free: 32.48 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.0007833/0.5687, allocations: 220.8 kB / 0.5046 GB, free: 32.33 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.003361/0.5721, allocations: 2.254 MB / 0.5068 GB, free: 30.17 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 9.332e-05/0.5722, allocations: 51.31 kB / 0.5068 GB, free: 30.12 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001958/0.5741, allocations: 2.057 MB / 0.5088 GB, free: 28.05 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/0.5771, allocations: 0.9868 MB / 0.5098 GB, free: 27.11 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/0.592, allocations: 10.73 MB / 0.5203 GB, free: 16.28 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/0.5936, allocations: 1.392 MB / 0.5216 GB, free: 14.86 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001859/0.5954, allocations: 0.5405 MB / 0.5222 GB, free: 14.32 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/0.5969, allocations: 0.9129 MB / 0.5231 GB, free: 13.38 MB / 410.8 MB Notification: Performance of SimCode: time 2.174e-06/0.5969, allocations: 2.078 kB / 0.5231 GB, free: 13.38 MB / 410.8 MB Notification: Performance of Templates: time 0.07638/0.6732, allocations: 58.14 MB / 0.5798 GB, free: 4.027 MB / 458.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: 4.630472471006215]