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.001084/0.001084, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001074/0.001074, allocations: 163.2 kB / 24.99 MB, free: 8.801 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.9201/0.9201, allocations: 177 MB / 205.2 MB, free: 5.586 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.2681/0.2681, allocations: 34.87 MB / 296.6 MB, free: 472 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.743e-06/1.743e-06, allocations: 0 / 378.9 MB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.247e-05, allocations: 10.25 kB / 378.9 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.02694/0.02697, allocations: 24.78 MB / 403.7 MB, free: 9.387 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.0398, allocations: 6.864 MB / 410.5 MB, free: 2.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005129/0.04493, allocations: 210.7 kB / 410.7 MB, free: 2.293 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004052/0.04898, allocations: 1.63 MB / 412.4 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005906/0.05489, allocations: 2.262 MB / 414.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002961/0.05785, allocations: 1.493 MB / 416.1 MB, free: 12.88 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009802/0.06765, allocations: 8.575 MB / 424.7 MB, free: 4.273 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004707/0.07236, allocations: 3.92 MB / 428.6 MB, free: 268 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007321/0.07968, allocations: 5.884 MB / 434.5 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004845/0.08452, allocations: 4.171 MB / 438.7 MB, free: 6.188 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001699/0.08622, allocations: 1.094 MB / 439.8 MB, free: 5.094 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.08802, allocations: 1.324 MB / 441.1 MB, free: 3.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001406/0.08942, allocations: 2.548 MB / 443.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1545/0.2439, allocations: 3.125 MB / 446.8 MB, free: 59.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007765/0.2516, allocations: 7.228 MB / 454 MB, free: 58.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2517, allocations: 0 / 454 MB, free: 58.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2517, allocations: 0 / 454 MB, free: 58.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003412/0.252, allocations: 0 / 454 MB, free: 58.84 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.01528/0.2673, allocations: 9.376 MB / 463.4 MB, free: 55.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.2673, allocations: 6.719 kB / 463.4 MB, free: 55.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007064/0.2744, allocations: 2.563 MB / 465.9 MB, free: 55.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00702/0.2814, allocations: 4.629 MB / 470.6 MB, free: 53.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003025/0.2817, allocations: 0.5132 MB / 471.1 MB, free: 53.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/0.2828, allocations: 0.6895 MB / 471.8 MB, free: 52.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009456/0.2922, allocations: 5.609 MB / 477.4 MB, free: 50.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001335/0.2924, allocations: 14.86 kB / 477.4 MB, free: 50.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000482/0.2928, allocations: 287.6 kB / 477.7 MB, free: 50.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002341/0.2931, allocations: 330.8 kB / 478 MB, free: 50.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007152/0.3002, allocations: 2.686 MB / 480.7 MB, free: 50.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03197/0.3322, allocations: 22.61 MB / 0.4915 GB, free: 37.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006193/0.3384, allocations: 5.117 MB / 0.4965 GB, free: 35.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003045/0.3414, allocations: 2.233 MB / 0.4987 GB, free: 35.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007723/0.3492, allocations: 5.41 MB / 0.504 GB, free: 32.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.3492, allocations: 63.22 kB / 0.504 GB, free: 32.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=259): time 4.048e-06/0.3492, allocations: 0 / 0.504 GB, free: 32.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.01221/0.3614, allocations: 7.254 MB / 0.5111 GB, free: 29.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.3615, allocations: 80.64 kB / 0.5112 GB, free: 29.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/0.3641, allocations: 2.573 MB / 0.5137 GB, free: 27.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.3643, allocations: 73.7 kB / 0.5138 GB, free: 27.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.3655, allocations: 3.291 MB / 0.517 GB, free: 24.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004956/0.366, allocations: 0.9819 MB / 0.5179 GB, free: 23.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006084/0.3666, allocations: 0.6293 MB / 0.5185 GB, free: 22.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.038e-05/0.3666, allocations: 481.2 kB / 0.519 GB, free: 22.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009352/0.3676, allocations: 0.5066 MB / 0.5195 GB, free: 21.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.3688, allocations: 2.058 MB / 0.5215 GB, free: 19.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/0.3713, allocations: 2.781 MB / 0.5242 GB, free: 16.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.129e-05/0.3714, allocations: 16 kB / 0.5242 GB, free: 16.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.004057/0.3754, allocations: 3.087 MB / 0.5273 GB, free: 13.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.3754, allocations: 16 kB / 0.5273 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-05/0.3755, allocations: 36.72 kB / 0.5273 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009633/0.3764, allocations: 477.3 kB / 0.5278 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.378, allocations: 0.7822 MB / 0.5285 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003848/0.3818, allocations: 9.076 MB / 0.5374 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.3835, allocations: 159.7 kB / 0.5375 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.3836, allocations: 152 kB / 0.5377 GB, free: 2.387 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.001383/0.385, allocations: 371.8 kB / 0.538 GB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004749/0.3855, allocations: 437.8 kB / 0.5385 GB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003592/0.3891, allocations: 2.62 MB / 0.541 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.3891, allocations: 24 kB / 0.541 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.117e-05/0.3891, allocations: 16 kB / 0.5411 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/0.3891, allocations: 15.95 kB / 0.5411 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.3993, allocations: 7.134 MB / 0.548 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/0.3993, allocations: 4 kB / 0.548 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009954/0.4003, allocations: 403 kB / 0.5484 GB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/0.4022, allocations: 0.8827 MB / 0.5493 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.4024, allocations: 71.97 kB / 0.5494 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/0.4132, allocations: 17.59 MB / 0.5665 GB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4132, allocations: 7.562 kB / 0.5665 GB, free: 4.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00564/0.4188, allocations: 3.432 MB / 0.5699 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/0.4203, allocations: 0.6322 MB / 0.5705 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004244/0.4207, allocations: 64 kB / 0.5706 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.4219, allocations: 127.9 kB / 0.5707 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000477/0.4224, allocations: 212.6 kB / 0.5709 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.4225, allocations: 83.97 kB / 0.571 GB, free: 15.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002231/0.4247, allocations: 1.415 MB / 0.5724 GB, free: 13.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4247, allocations: 0 / 0.5724 GB, free: 13.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00372/0.4285, allocations: 1.152 MB / 0.5735 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.000431/0.4289, allocations: 218 kB / 0.5737 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004545/0.4334, allocations: 2.737 MB / 0.5764 GB, free: 9.887 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.4334, allocations: 4 kB / 0.5764 GB, free: 9.883 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003054/0.4365, allocations: 2.581 MB / 0.5789 GB, free: 7.211 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/0.4394, allocations: 0.8347 MB / 0.5797 GB, free: 6.383 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0182/0.4576, allocations: 10.66 MB / 0.5901 GB, free: 11.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00199/0.4596, allocations: 1.666 MB / 0.5917 GB, free: 9.91 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00213/0.4617, allocations: 0.6772 MB / 0.5924 GB, free: 9.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006177/0.4623, allocations: 244.4 kB / 0.5926 GB, free: 8.992 MB / 474.7 MB Notification: Performance of SimCode: time 1.763e-06/0.4623, allocations: 4 kB / 0.5926 GB, free: 8.988 MB / 474.7 MB Notification: Performance of Templates: time 0.1836/0.6459, allocations: 48.32 MB / 0.6398 GB, free: 162.4 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 -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.499093926046044]