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.001298/0.001298, allocations: 115.7 kB / 21.19 MB, free: 4.391 MB / 13.93 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.001654/0.001654, allocations: 217.3 kB / 24.48 MB, free: 1.391 MB / 13.93 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.9728/0.9728, allocations: 230.6 MB / 258.2 MB, free: 3.105 MB / 202.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.1833/0.1833, allocations: 47.71 MB / 362.4 MB, free: 15.43 MB / 298.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 0.001765/0.001765, allocations: 99.84 kB / 0.4978 GB, free: 3.234 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2636, allocations: 66.21 MB / 0.5624 GB, free: 13.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.01651/0.2801, allocations: 21.64 MB / 0.5836 GB, free: 7.812 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.2917, allocations: 6.685 MB / 0.5901 GB, free: 1.102 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003559/0.2953, allocations: 210.7 kB / 0.5903 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.2981, allocations: 1.603 MB / 0.5919 GB, free: 15.28 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004522/0.3026, allocations: 2.205 MB / 0.594 GB, free: 13.06 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.3049, allocations: 1.468 MB / 0.5955 GB, free: 11.6 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.006978/0.3118, allocations: 8.164 MB / 0.6034 GB, free: 3.402 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003801/0.3156, allocations: 3.881 MB / 0.6072 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004519/0.3202, allocations: 3.969 MB / 0.6111 GB, free: 11.45 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00489/0.325, allocations: 4.464 MB / 0.6155 GB, free: 6.969 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001303/0.3264, allocations: 1.094 MB / 0.6165 GB, free: 5.875 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.3285, allocations: 1.308 MB / 0.6178 GB, free: 4.566 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001438/0.33, allocations: 2.454 MB / 0.6202 GB, free: 2.105 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003222/0.3332, allocations: 3.595 MB / 0.6237 GB, free: 14.5 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009956/0.3431, allocations: 14.37 MB / 0.6377 GB, free: 84 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3432, allocations: 0 / 0.6377 GB, free: 84 kB / 474.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.3432, allocations: 4 kB / 0.6377 GB, free: 80 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002015/0.3434, allocations: 3.938 kB / 0.6377 GB, free: 76 kB / 474.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.01353/0.3569, allocations: 9.006 MB / 0.6465 GB, free: 6.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3569, allocations: 12.03 kB / 0.6465 GB, free: 6.969 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004387/0.3613, allocations: 1.671 MB / 0.6482 GB, free: 5.293 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006257/0.3676, allocations: 4.816 MB / 0.6529 GB, free: 404 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002621/0.3678, allocations: 0.518 MB / 0.6534 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006763/0.3685, allocations: 0.6874 MB / 0.6541 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.3804, allocations: 9.767 MB / 0.6636 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/0.3805, allocations: 8 kB / 0.6636 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004522/0.3809, allocations: 280 kB / 0.6639 GB, free: 5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003129/0.3812, allocations: 334.2 kB / 0.6642 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009795/0.391, allocations: 8.078 MB / 0.6721 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03014/0.4212, allocations: 24.44 MB / 0.6959 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2671/0.6883, allocations: 6.318 MB / 0.7021 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004979/0.6933, allocations: 3.403 MB / 0.7054 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009615/0.7029, allocations: 7.254 MB / 0.7125 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.7029, allocations: 69.77 kB / 0.7126 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=259): time 4.138e-06/0.7029, allocations: 0 / 0.7126 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=265): time 0.01387/0.7168, allocations: 10.97 MB / 0.7233 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.7168, allocations: 77.5 kB / 0.7234 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002704/0.7195, allocations: 3.006 MB / 0.7263 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.7197, allocations: 73.7 kB / 0.7264 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.7207, allocations: 3.171 MB / 0.7295 GB, free: 99.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003553/0.721, allocations: 0.9554 MB / 0.7304 GB, free: 98.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005246/0.7216, allocations: 0.6093 MB / 0.731 GB, free: 98.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.051e-05/0.7216, allocations: 301.1 kB / 0.7313 GB, free: 97.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.7229, allocations: 1.451 MB / 0.7327 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.7244, allocations: 2.54 MB / 0.7352 GB, free: 93.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003073/0.7275, allocations: 4.203 MB / 0.7393 GB, free: 88.74 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.7275, allocations: 8 kB / 0.7393 GB, free: 88.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.004557/0.7321, allocations: 4.913 MB / 0.7441 GB, free: 83.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.7321, allocations: 26.47 kB / 0.7441 GB, free: 83.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/0.7321, allocations: 35.98 kB / 0.7442 GB, free: 83.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000821/0.733, allocations: 0.5658 MB / 0.7447 GB, free: 83.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.7344, allocations: 0.78 MB / 0.7455 GB, free: 82.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004596/0.739, allocations: 8.862 MB / 0.7541 GB, free: 73.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.7406, allocations: 159.8 kB / 0.7543 GB, free: 72.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.7408, allocations: 148 kB / 0.7544 GB, free: 72.78 MB / 0.5261 GB 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.002749/0.7435, allocations: 2.09 MB / 0.7565 GB, free: 70.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.7438, allocations: 353.8 kB / 0.7568 GB, free: 70.33 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004326/0.7482, allocations: 4.309 MB / 0.761 GB, free: 65.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.7482, allocations: 24 kB / 0.761 GB, free: 65.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.7482, allocations: 20 kB / 0.761 GB, free: 65.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.7482, allocations: 11.95 kB / 0.7611 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009102/0.7573, allocations: 8.701 MB / 0.7696 GB, free: 57.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.7573, allocations: 4 kB / 0.7696 GB, free: 57.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009148/0.7582, allocations: 403.4 kB / 0.7699 GB, free: 56.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/0.7596, allocations: 1.028 MB / 0.771 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.7597, allocations: 83.89 kB / 0.771 GB, free: 55.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/0.7707, allocations: 17.72 MB / 0.7883 GB, free: 37.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7707, allocations: 4 kB / 0.7883 GB, free: 37.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006863/0.7776, allocations: 6.246 MB / 0.7944 GB, free: 30.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/0.7791, allocations: 0.6615 MB / 0.7951 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002745/0.7794, allocations: 60 kB / 0.7951 GB, free: 30 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009453/0.7804, allocations: 131.9 kB / 0.7953 GB, free: 29.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000488/0.7809, allocations: 221.5 kB / 0.7955 GB, free: 29.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.781, allocations: 79.97 kB / 0.7956 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002426/0.7834, allocations: 1.981 MB / 0.7975 GB, free: 27.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.7834, allocations: 0 / 0.7975 GB, free: 27.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003006/0.7864, allocations: 1.156 MB / 0.7986 GB, free: 26.45 MB / 0.5261 GB 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.0003538/0.7868, allocations: 221.5 kB / 0.7988 GB, free: 26.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003791/0.7905, allocations: 3.981 MB / 0.8027 GB, free: 22.15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7905, allocations: 0 / 0.8027 GB, free: 22.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002337/0.7929, allocations: 2.816 MB / 0.8055 GB, free: 19.24 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.795, allocations: 0.8022 MB / 0.8062 GB, free: 18.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/0.8083, allocations: 12.23 MB / 0.8182 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002322/0.8106, allocations: 3.657 MB / 0.8218 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006767/0.8113, allocations: 271.4 kB / 0.822 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.633e-06/0.8113, allocations: 4 kB / 0.822 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of Templates: time 0.4245/1.236, allocations: 307.2 MB / 1.122 GB, free: 70.18 MB / 0.6511 GB " [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: 12.996727379970253]