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.00108/0.00108, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001024/0.001024, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.9455/0.9455, allocations: 177 MB / 204.8 MB, free: 5.57 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.258/0.258, allocations: 34.87 MB / 296.3 MB, free: 0.543 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 2.695e-06/2.695e-06, allocations: 4 kB / 378.9 MB, free: 1.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.365e-05, allocations: 2.312 kB / 378.9 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.01937/0.01939, allocations: 24.92 MB / 403.8 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.03067, allocations: 6.88 MB / 410.7 MB, free: 2.023 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002512/0.03318, allocations: 210.7 kB / 410.9 MB, free: 1.816 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002598/0.03578, allocations: 1.622 MB / 412.5 MB, free: 188 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00412/0.0399, allocations: 2.278 MB / 414.8 MB, free: 13.89 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.04209, allocations: 1.484 MB / 416.3 MB, free: 12.4 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005951/0.04804, allocations: 8.58 MB / 424.9 MB, free: 3.789 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003382/0.05142, allocations: 3.92 MB / 428.8 MB, free: 15.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004956/0.05638, allocations: 5.888 MB / 434.7 MB, free: 9.883 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00366/0.06004, allocations: 4.194 MB / 438.9 MB, free: 5.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00163/0.06167, allocations: 1.09 MB / 440 MB, free: 4.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.06356, allocations: 1.312 MB / 441.3 MB, free: 3.277 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001515/0.06507, allocations: 2.544 MB / 443.8 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1744/0.2394, allocations: 3.117 MB / 446.9 MB, free: 59.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007545/0.247, allocations: 7.242 MB / 454.2 MB, free: 59.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.247, allocations: 2.719 kB / 454.2 MB, free: 59.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.247, allocations: 0 / 454.2 MB, free: 59.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003266/0.2473, allocations: 0 / 454.2 MB, free: 59.3 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.01304/0.2603, allocations: 9.368 MB / 463.5 MB, free: 56.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.2604, allocations: 12.83 kB / 463.6 MB, free: 56.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005027/0.2654, allocations: 2.556 MB / 466.1 MB, free: 55.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004619/0.27, allocations: 4.636 MB / 470.7 MB, free: 53.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.2702, allocations: 0.5091 MB / 471.3 MB, free: 53.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006103/0.2709, allocations: 0.692 MB / 471.9 MB, free: 53.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006741/0.2776, allocations: 5.605 MB / 477.6 MB, free: 51.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.312e-05/0.2777, allocations: 18.06 kB / 477.6 MB, free: 51.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003963/0.2781, allocations: 294.2 kB / 477.9 MB, free: 50.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002251/0.2783, allocations: 328.4 kB / 478.2 MB, free: 50.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005153/0.2835, allocations: 2.683 MB / 480.9 MB, free: 50.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0224/0.3059, allocations: 22.6 MB / 0.4917 GB, free: 37.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00571/0.3116, allocations: 5.116 MB / 0.4967 GB, free: 36.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00265/0.3142, allocations: 2.234 MB / 0.4988 GB, free: 35.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006145/0.3204, allocations: 5.399 MB / 0.5041 GB, free: 32.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.3204, allocations: 68.41 kB / 0.5042 GB, free: 32.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=259): time 4.088e-06/0.3204, allocations: 4 kB / 0.5042 GB, free: 32.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.01041/0.3308, allocations: 7.252 MB / 0.5113 GB, free: 29.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.3308, allocations: 85.5 kB / 0.5113 GB, free: 29.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.333, allocations: 2.573 MB / 0.5139 GB, free: 27.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.991e-05/0.3331, allocations: 73.7 kB / 0.5139 GB, free: 27.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.3341, allocations: 3.287 MB / 0.5171 GB, free: 24.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003955/0.3345, allocations: 0.9776 MB / 0.5181 GB, free: 23.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006249/0.3352, allocations: 0.6341 MB / 0.5187 GB, free: 22.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.373e-05/0.3352, allocations: 481.7 kB / 0.5192 GB, free: 22.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008196/0.336, allocations: 0.5083 MB / 0.5197 GB, free: 22.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.3372, allocations: 2.054 MB / 0.5217 GB, free: 19.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002201/0.3394, allocations: 2.785 MB / 0.5244 GB, free: 16.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.3394, allocations: 8 kB / 0.5244 GB, free: 16.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.003656/0.3431, allocations: 3.097 MB / 0.5274 GB, free: 13.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.3431, allocations: 20 kB / 0.5274 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-05/0.3431, allocations: 35.98 kB / 0.5275 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008729/0.344, allocations: 483.4 kB / 0.5279 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.3455, allocations: 0.7785 MB / 0.5287 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003611/0.3491, allocations: 9.068 MB / 0.5376 GB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.3503, allocations: 155.8 kB / 0.5377 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/0.3505, allocations: 152 kB / 0.5379 GB, free: 2.562 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.001161/0.3517, allocations: 383 kB / 0.5382 GB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003659/0.352, allocations: 441 kB / 0.5386 GB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003356/0.3554, allocations: 2.613 MB / 0.5412 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.3554, allocations: 24 kB / 0.5412 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.3554, allocations: 12 kB / 0.5412 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.3554, allocations: 15.94 kB / 0.5412 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.3659, allocations: 7.133 MB / 0.5482 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.3659, allocations: 7.984 kB / 0.5482 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009344/0.3668, allocations: 392.9 kB / 0.5486 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/0.3686, allocations: 0.8941 MB / 0.5495 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/0.3687, allocations: 71.97 kB / 0.5495 GB, free: 6.562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/0.3808, allocations: 17.58 MB / 0.5667 GB, free: 4.238 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.3808, allocations: 7.844 kB / 0.5667 GB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004705/0.3855, allocations: 3.428 MB / 0.5701 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009838/0.3865, allocations: 0.6303 MB / 0.5707 GB, free: 28 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/0.3868, allocations: 65.67 kB / 0.5707 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007647/0.3875, allocations: 119.9 kB / 0.5708 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003088/0.3878, allocations: 216.4 kB / 0.5711 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.3879, allocations: 83.97 kB / 0.5711 GB, free: 15.56 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001551/0.3895, allocations: 1.419 MB / 0.5725 GB, free: 14.14 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.3895, allocations: 0 / 0.5725 GB, free: 14.14 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002663/0.3922, allocations: 1.156 MB / 0.5736 GB, free: 12.99 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.0003468/0.3925, allocations: 224.7 kB / 0.5739 GB, free: 12.78 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003313/0.3958, allocations: 2.747 MB / 0.5765 GB, free: 10.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3958, allocations: 4.062 kB / 0.5765 GB, free: 10.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002119/0.3979, allocations: 2.576 MB / 0.5791 GB, free: 7.367 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.3998, allocations: 0.8268 MB / 0.5799 GB, free: 6.547 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.412, allocations: 10.67 MB / 0.5903 GB, free: 11.76 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/0.4134, allocations: 1.662 MB / 0.5919 GB, free: 10.08 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001234/0.4146, allocations: 0.6733 MB / 0.5926 GB, free: 9.402 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/0.4151, allocations: 248.4 kB / 0.5928 GB, free: 9.16 MB / 474.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4151, allocations: 0 / 0.5928 GB, free: 9.16 MB / 474.7 MB Notification: Performance of Templates: time 0.2014/0.6165, allocations: 48.31 MB / 0.64 GB, free: 131.5 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.648681956809014]