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.001025/0.001025, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001842/0.001842, allocations: 165 kB / 25.61 MB, free: 8.441 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 1.008/1.008, allocations: 177 MB / 205.9 MB, free: 5.457 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.2678/0.2678, allocations: 34.86 MB / 297.4 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.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.603e-06/1.603e-06, allocations: 0 / 380.1 MB, free: 1.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.351e-05, allocations: 2.312 kB / 380.1 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.02077/0.02079, allocations: 23.81 MB / 404 MB, free: 9.766 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01473/0.03553, allocations: 6.833 MB / 410.8 MB, free: 2.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004979/0.04051, allocations: 214.8 kB / 411 MB, free: 2.699 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004347/0.04485, allocations: 1.618 MB / 412.6 MB, free: 1.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006936/0.05179, allocations: 2.274 MB / 414.9 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003704/0.05549, allocations: 1.477 MB / 416.4 MB, free: 13.3 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00933/0.06482, allocations: 8.573 MB / 424.9 MB, free: 4.695 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005985/0.07081, allocations: 3.92 MB / 428.9 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009361/0.08017, allocations: 6.087 MB / 434.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006839/0.08701, allocations: 4.139 MB / 439.1 MB, free: 6.438 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002285/0.08929, allocations: 1.082 MB / 440.2 MB, free: 5.355 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.09172, allocations: 1.308 MB / 441.5 MB, free: 4.047 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.09325, allocations: 2.509 MB / 444 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1762/0.2694, allocations: 3.095 MB / 447.1 MB, free: 59.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008685/0.2781, allocations: 7.177 MB / 454.3 MB, free: 59.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2781, allocations: 0.7812 kB / 454.3 MB, free: 59.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2781, allocations: 0 / 454.3 MB, free: 59.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003025/0.2784, allocations: 0.625 kB / 454.3 MB, free: 59.2 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.0137/0.2921, allocations: 9.103 MB / 463.4 MB, free: 56.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2921, allocations: 12.8 kB / 463.4 MB, free: 56.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005246/0.2974, allocations: 2.395 MB / 465.8 MB, free: 55.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005809/0.3032, allocations: 4.436 MB / 470.2 MB, free: 54.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/0.3035, allocations: 0.5076 MB / 470.7 MB, free: 54.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008358/0.3043, allocations: 0.6942 MB / 471.4 MB, free: 53.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006123/0.3104, allocations: 5.154 MB / 476.6 MB, free: 52.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.3105, allocations: 16.56 kB / 476.6 MB, free: 52.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004206/0.311, allocations: 284 kB / 476.9 MB, free: 52.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002206/0.3112, allocations: 330.5 kB / 477.2 MB, free: 52.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004059/0.3152, allocations: 2.109 MB / 479.3 MB, free: 51.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02638/0.3416, allocations: 22.4 MB / 0.4899 GB, free: 39.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005328/0.347, allocations: 4.848 MB / 0.4947 GB, free: 38.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002415/0.3494, allocations: 2.06 MB / 0.4967 GB, free: 38.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006791/0.3562, allocations: 5.182 MB / 0.5017 GB, free: 35.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.3562, allocations: 70.62 kB / 0.5018 GB, free: 35.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=259): time 4.158e-06/0.3562, allocations: 0 / 0.5018 GB, free: 35.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.01023/0.3664, allocations: 6.01 MB / 0.5077 GB, free: 33.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.3665, allocations: 80.12 kB / 0.5077 GB, free: 33.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.3686, allocations: 2.506 MB / 0.5102 GB, free: 32.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.3688, allocations: 69.52 kB / 0.5103 GB, free: 32.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.3699, allocations: 3.319 MB / 0.5135 GB, free: 29.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004352/0.3703, allocations: 0.9851 MB / 0.5145 GB, free: 28.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005982/0.3709, allocations: 0.6451 MB / 0.5151 GB, free: 28.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.848e-05/0.371, allocations: 476.8 kB / 0.5155 GB, free: 27.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/0.3715, allocations: 392.9 kB / 0.5159 GB, free: 27.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009552/0.3724, allocations: 1.956 MB / 0.5178 GB, free: 25.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.3742, allocations: 2.582 MB / 0.5204 GB, free: 22.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/0.3742, allocations: 8 kB / 0.5204 GB, free: 22.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.003159/0.3774, allocations: 2.821 MB / 0.5231 GB, free: 19.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.3774, allocations: 16 kB / 0.5231 GB, free: 19.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.3774, allocations: 32 kB / 0.5232 GB, free: 19.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007816/0.3782, allocations: 465.5 kB / 0.5236 GB, free: 19.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.3796, allocations: 0.7509 MB / 0.5243 GB, free: 18.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00339/0.383, allocations: 8.863 MB / 0.533 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.3847, allocations: 117.3 kB / 0.5331 GB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/0.3848, allocations: 126.3 kB / 0.5332 GB, free: 9.793 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.001477/0.3863, allocations: 383.4 kB / 0.5336 GB, free: 9.461 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004463/0.3868, allocations: 441.8 kB / 0.534 GB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/0.3894, allocations: 2.383 MB / 0.5363 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.3895, allocations: 28 kB / 0.5364 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.3895, allocations: 12 kB / 0.5364 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/0.3895, allocations: 19.69 kB / 0.5364 GB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00756/0.397, allocations: 6.894 MB / 0.5431 GB, free: 440 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.3971, allocations: 0 / 0.5431 GB, free: 440 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008718/0.3979, allocations: 378.3 kB / 0.5435 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001682/0.3996, allocations: 0.8579 MB / 0.5443 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/0.3997, allocations: 71.97 kB / 0.5444 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/0.4103, allocations: 17.14 MB / 0.5611 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.4103, allocations: 6.812 kB / 0.5611 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004483/0.4147, allocations: 3.097 MB / 0.5642 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.4158, allocations: 0.5834 MB / 0.5647 GB, free: 9.688 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002894/0.4161, allocations: 63.98 kB / 0.5648 GB, free: 9.625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007778/0.4169, allocations: 99.95 kB / 0.5649 GB, free: 9.527 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003661/0.4172, allocations: 220.1 kB / 0.5651 GB, free: 9.316 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.4173, allocations: 67.53 kB / 0.5652 GB, free: 9.254 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001586/0.4189, allocations: 1.284 MB / 0.5664 GB, free: 8.102 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4189, allocations: 4 kB / 0.5664 GB, free: 8.098 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003053/0.422, allocations: 1.148 MB / 0.5675 GB, free: 6.949 MB / 442.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.0003471/0.4223, allocations: 223.6 kB / 0.5678 GB, free: 6.746 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002717/0.425, allocations: 2.526 MB / 0.5702 GB, free: 4.266 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.425, allocations: 8.25 kB / 0.5702 GB, free: 4.258 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002083/0.4271, allocations: 2.479 MB / 0.5727 GB, free: 1.723 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.4295, allocations: 0.8342 MB / 0.5735 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/0.4439, allocations: 10.55 MB / 0.5838 GB, free: 6.266 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/0.4453, allocations: 1.666 MB / 0.5854 GB, free: 4.578 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001541/0.4468, allocations: 493.9 kB / 0.5859 GB, free: 4.094 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/0.4482, allocations: 0.8844 MB / 0.5867 GB, free: 3.207 MB / 458.7 MB Notification: Performance of SimCode: time 1.703e-06/0.4482, allocations: 0 / 0.5867 GB, free: 3.207 MB / 458.7 MB Notification: Performance of Templates: time 0.2165/0.6647, allocations: 52.47 MB / 0.638 GB, free: 112.9 MB / 474.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.832192954141647]