Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_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.001442/0.001442, 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.001584/0.001584, allocations: 157.1 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.9636/0.9636, allocations: 177 MB / 205.2 MB, free: 5.551 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.2591/0.2591, allocations: 34.86 MB / 296.6 MB, free: 0.4922 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.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 378.1 MB, free: 3.039 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.255e-05, allocations: 3.719 kB / 378.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.01958/0.0196, allocations: 24.79 MB / 402.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.03138, allocations: 6.861 MB / 409.7 MB, free: 3.254 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003665/0.03505, allocations: 214.7 kB / 409.9 MB, free: 3.043 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003381/0.03843, allocations: 1.622 MB / 411.6 MB, free: 1.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004879/0.04331, allocations: 2.274 MB / 413.8 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002444/0.04575, allocations: 1.492 MB / 415.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.007013/0.05277, allocations: 8.565 MB / 423.9 MB, free: 5.031 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004724/0.05749, allocations: 3.924 MB / 427.8 MB, free: 1.016 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007317/0.06481, allocations: 5.899 MB / 433.7 MB, free: 11.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005406/0.07021, allocations: 4.182 MB / 437.9 MB, free: 6.914 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002115/0.07233, allocations: 1.09 MB / 439 MB, free: 5.824 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002592/0.07492, allocations: 1.316 MB / 440.3 MB, free: 4.508 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002065/0.07698, allocations: 2.544 MB / 442.9 MB, free: 1.957 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1502/0.2272, allocations: 3.132 MB / 446 MB, free: 58.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008572/0.2357, allocations: 7.227 MB / 453.2 MB, free: 58.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2357, allocations: 0 / 453.2 MB, free: 58.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2357, allocations: 0 / 453.2 MB, free: 58.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003214/0.2361, allocations: 2.844 kB / 453.2 MB, free: 58.21 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.01374/0.2498, allocations: 9.375 MB / 462.6 MB, free: 55.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.2498, allocations: 9.656 kB / 462.6 MB, free: 55.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005745/0.2556, allocations: 2.561 MB / 465.2 MB, free: 54.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006698/0.2623, allocations: 4.629 MB / 469.8 MB, free: 53.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002758/0.2626, allocations: 0.513 MB / 470.3 MB, free: 52.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/0.2636, allocations: 0.6901 MB / 471 MB, free: 52.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008931/0.2725, allocations: 5.613 MB / 476.6 MB, free: 50.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.2727, allocations: 13.05 kB / 476.6 MB, free: 50.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004206/0.2731, allocations: 285.2 kB / 476.9 MB, free: 50.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000206/0.2733, allocations: 330.8 kB / 477.2 MB, free: 50.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006087/0.2794, allocations: 2.684 MB / 479.9 MB, free: 49.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02778/0.3072, allocations: 22.6 MB / 0.4907 GB, free: 37.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0066/0.3138, allocations: 5.124 MB / 0.4957 GB, free: 35.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003752/0.3175, allocations: 2.225 MB / 0.4979 GB, free: 35.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009263/0.3268, allocations: 5.406 MB / 0.5032 GB, free: 32.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.3268, allocations: 73.19 kB / 0.5033 GB, free: 32.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=259): time 5.481e-06/0.3268, allocations: 0 / 0.5033 GB, free: 32.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.01469/0.3415, allocations: 7.249 MB / 0.5103 GB, free: 29.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3416, allocations: 77.5 kB / 0.5104 GB, free: 29.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00324/0.3448, allocations: 2.578 MB / 0.5129 GB, free: 27.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.345, allocations: 69.7 kB / 0.513 GB, free: 27.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.3464, allocations: 3.285 MB / 0.5162 GB, free: 24.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005727/0.347, allocations: 0.9749 MB / 0.5172 GB, free: 23.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008001/0.3478, allocations: 0.6346 MB / 0.5178 GB, free: 22.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.598e-05/0.3478, allocations: 478.4 kB / 0.5182 GB, free: 22.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.3489, allocations: 0.515 MB / 0.5187 GB, free: 21.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.3505, allocations: 2.048 MB / 0.5207 GB, free: 19.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002889/0.3534, allocations: 2.788 MB / 0.5235 GB, free: 15.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-05/0.3534, allocations: 11.47 kB / 0.5235 GB, free: 15.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.004831/0.3582, allocations: 3.099 MB / 0.5265 GB, free: 13.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.3583, allocations: 16 kB / 0.5265 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.352e-05/0.3583, allocations: 34.84 kB / 0.5265 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.3595, allocations: 479.7 kB / 0.527 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.3611, allocations: 0.78 MB / 0.5278 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003818/0.3649, allocations: 9.079 MB / 0.5366 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.3664, allocations: 151.8 kB / 0.5368 GB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/0.3666, allocations: 152 kB / 0.5369 GB, free: 2.395 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * 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 (406): * Single equations (assignments): 400 * 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.001438/0.368, allocations: 385.8 kB / 0.5373 GB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004359/0.3685, allocations: 433.8 kB / 0.5377 GB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003672/0.3721, allocations: 2.619 MB / 0.5403 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.3721, allocations: 24 kB / 0.5403 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.376e-05/0.3722, allocations: 16 kB / 0.5403 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.3722, allocations: 11.95 kB / 0.5403 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.3828, allocations: 7.133 MB / 0.5473 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.3828, allocations: 0 / 0.5473 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009903/0.3838, allocations: 402.4 kB / 0.5477 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/0.3857, allocations: 0.8899 MB / 0.5485 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/0.3859, allocations: 75.97 kB / 0.5486 GB, free: 6.391 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/0.3975, allocations: 17.58 MB / 0.5658 GB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3975, allocations: 4 kB / 0.5658 GB, free: 4.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0052/0.4027, allocations: 3.429 MB / 0.5691 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/0.4038, allocations: 0.6265 MB / 0.5697 GB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/0.4041, allocations: 66.84 kB / 0.5698 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008413/0.405, allocations: 123.9 kB / 0.5699 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003292/0.4053, allocations: 216.7 kB / 0.5701 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.4054, allocations: 80.02 kB / 0.5702 GB, free: 15.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001778/0.4072, allocations: 1.422 MB / 0.5716 GB, free: 13.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4072, allocations: 0 / 0.5716 GB, free: 13.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002864/0.4101, allocations: 1.156 MB / 0.5727 GB, free: 12.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.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 (195): * Single equations (assignments): 188 * 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,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003876/0.4105, allocations: 221.8 kB / 0.5729 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003568/0.414, allocations: 2.743 MB / 0.5756 GB, free: 9.879 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.414, allocations: 4 kB / 0.5756 GB, free: 9.875 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002361/0.4164, allocations: 2.574 MB / 0.5781 GB, free: 7.207 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.4187, allocations: 0.8402 MB / 0.5789 GB, free: 6.383 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/0.4337, allocations: 10.62 MB / 0.5893 GB, free: 11.64 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003168/0.4368, allocations: 3.395 MB / 0.5926 GB, free: 8.215 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008913/0.4377, allocations: 276.4 kB / 0.5929 GB, free: 7.945 MB / 474.7 MB Notification: Performance of SimCode: time 1.333e-06/0.4377, allocations: 0 / 0.5929 GB, free: 7.945 MB / 474.7 MB Notification: Performance of Templates: time 0.4323/0.87, allocations: 306.8 MB / 0.8925 GB, free: 90.28 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.886771764140576]